Commit 4a86ba1e authored by clone's avatar clone

优惠券

parent d05249e1
...@@ -5,7 +5,7 @@ use think\Request; ...@@ -5,7 +5,7 @@ use think\Request;
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: fuju * User: zw
* Date: 2019/3/11 * Date: 2019/3/11
* Time: 9:46 * Time: 9:46
*/ */
...@@ -15,6 +15,7 @@ class Activity extends Basic { ...@@ -15,6 +15,7 @@ class Activity extends Basic {
parent::__construct($request); parent::__construct($request);
} }
public function createActivity(){ public function createActivity(){
$params = $this->params;
$checkResult = $this->validate($params, "UWxInfoValidate.add"); $checkResult = $this->validate($params, "UWxInfoValidate.add");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
......
<?php
namespace app\api\service;
/**
* Created by PhpStorm.
* User: zw
* Date: 2019/3/11
* Time: 10:15
*/
class ActivityService {
}
...@@ -6,7 +6,7 @@ use think\Validate; ...@@ -6,7 +6,7 @@ use think\Validate;
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: fuju * User: zw
* Date: 2019/3/11 * Date: 2019/3/11
* Time: 9:49 * Time: 9:49
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment