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