生成用户收货码
This commit is contained in:
parent
7e80444924
commit
c1e0454775
@ -55,11 +55,8 @@ class Auth extends BaseController
|
|||||||
{
|
{
|
||||||
public function dotest()
|
public function dotest()
|
||||||
{
|
{
|
||||||
$code = random_int(1000, 9999);
|
//SmsService::create()->send($data['phone'], 'VERIFICATION_CODE', ['code' => $sms_code, 'time' => $sms_time]);
|
||||||
$res = app()->make(StoreOrderRepository::class)->update(0, [
|
return app('json')->success();
|
||||||
'logistics_code' => $code
|
|
||||||
]);
|
|
||||||
return app('json')->success($res);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test()
|
public function test()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user