redis edit
This commit is contained in:
parent
d0367bbc44
commit
ab5252dea0
|
|
@ -10,19 +10,19 @@ class IndexController
|
|||
public function index(Request $request)
|
||||
{
|
||||
|
||||
$url = 'http://192.168.1.31/market/admin/coupon/grant';
|
||||
$res = http_post($url, [
|
||||
'userId' => 1,
|
||||
'couponId' => 1,
|
||||
'num' => 1,
|
||||
'shopId' => 1,
|
||||
]);
|
||||
p($res);
|
||||
// $url = 'http://192.168.1.31/market/admin/coupon/grant';
|
||||
// $res = http_post($url, [
|
||||
// 'userId' => 1,
|
||||
// 'couponId' => 1,
|
||||
// 'num' => 1,
|
||||
// 'shopId' => 1,
|
||||
// ]);
|
||||
// p($res);
|
||||
|
||||
|
||||
// $data = \app\model\MessagePushTask::send_push_msg();
|
||||
// $data = \app\model\MessagePushTask::send_sms_msg();
|
||||
return json($data);
|
||||
return json(123);
|
||||
}
|
||||
|
||||
public function view(Request $request)
|
||||
|
|
|
|||
Loading…
Reference in New Issue