Commit 5348890f authored by 张晓林's avatar 张晓林

用户删除接口删除

parent 87688119
...@@ -50,8 +50,8 @@ return [ ...@@ -50,8 +50,8 @@ return [
'DELETE,OPTIONS del-branch-service' => 'del-branch-service', 'DELETE,OPTIONS del-branch-service' => 'del-branch-service',
'GET,OPTIONS user-list' => 'user-list', 'GET,OPTIONS user-list' => 'user-list',
'GET,OPTIONS user-detail'=>'user-detail', 'GET,OPTIONS user-detail'=>'user-detail',
'POST,OPTIONS user-update'=>'user-update', 'POST user-update'=>'user-update',
'GET,OPTIONS user-delete'=>'user-delete', // 'GET,OPTIONS user-delete'=>'user-delete',
'GET,OPTIONS get-member-grade-list'=>'get-member-grade-list', 'GET,OPTIONS get-member-grade-list'=>'get-member-grade-list',
'GET,OPTIONS licence-list'=>'licence-list', 'GET,OPTIONS licence-list'=>'licence-list',
'GET,OPTIONS licence-detail'=>'licence-detail', 'GET,OPTIONS licence-detail'=>'licence-detail',
......
...@@ -142,24 +142,14 @@ class ShopUserListController extends BaseController ...@@ -142,24 +142,14 @@ class ShopUserListController extends BaseController
'data'=>$data 'data'=>$data
]; ];
} }
/**
* @OA\GET(
* path="/backend/web/v1/shopuser/shop-user-lists/user-delete",
* tags={"用户&员工接口"},
* summary="员工删除(张晓林)",
* description="员工删除",
* @OA\Parameter(name="GUID",description="用户GUID",in="query",@OA\Schema(type="string")),
* @OA\Response(response="200",description="操作成功"),
* security={{"Authorization": {}}}
* )
*/
public function actionUserDelete(){ //用户删除湖接口,暂时不需要
$param = Yii::$app->request->get(); // public function actionUserDelete(){
$model = new $this->modelClass(); // $param = Yii::$app->request->get();
$result = $model->userDelete($param); // $model = new $this->modelClass();
return $result; // $result = $model->userDelete($param);
} // return $result;
// }
/** /**
* @OA\POST( * @OA\POST(
* path="/backend/web/v1/shopuser/shop-user-lists/user-update", * path="/backend/web/v1/shopuser/shop-user-lists/user-update",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment