From afd09bbb9bdbc83fcd29c9298d8262d389689ef1 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 3 Jul 2024 18:01:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(UserShipController):=20=E6=B7=BB=E5=8A=A0i?= =?UTF-8?q?s=5Fuser=5Fship=E6=96=B9=E6=B3=95=E7=94=A8=E4=BA=8E=E5=A4=84?= =?UTF-8?q?=E7=90=86=E7=94=A8=E6=88=B7=E8=88=B9=E5=8F=AA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/controller/user/UserShipController.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/store/controller/user/UserShipController.php b/app/store/controller/user/UserShipController.php index e6bd8cdca..1ca0bbfef 100644 --- a/app/store/controller/user/UserShipController.php +++ b/app/store/controller/user/UserShipController.php @@ -3,7 +3,7 @@ namespace app\store\controller\user; - +use app\admin\logic\user_ship\UserShipLogic; use app\store\controller\BaseAdminController; use app\common\lists\user\UserShipLists; @@ -15,4 +15,14 @@ class UserShipController extends BaseAdminController { return $this->dataLists(new UserShipLists()); } + + public function is_user_ship(){ + $data=$this->request->post(); + UserShipLogic::user_ship($data); + if(UserShipLogic::hasError()){ + return $this->fail(UserShipLogic::getError()); + }else{ + return $this->success('ok'); + } + } } \ No newline at end of file