From c1e0454775f6e6921ca9bf92f2a1cd866d5c5898 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 10 Aug 2023 11:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E7=94=A8=E6=88=B7=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index febebc17..1ab74ef5 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -55,11 +55,8 @@ class Auth extends BaseController { public function dotest() { - $code = random_int(1000, 9999); - $res = app()->make(StoreOrderRepository::class)->update(0, [ - 'logistics_code' => $code - ]); - return app('json')->success($res); + //SmsService::create()->send($data['phone'], 'VERIFICATION_CODE', ['code' => $sms_code, 'time' => $sms_time]); + return app('json')->success(); } public function test()