Commit d53f0751 authored by 侯贺政's avatar 侯贺政

员工信息接口信息修改

Signed-off-by: 侯贺政's avatarhouhezheng <houhezheng@romens.cn>
parent c8f802fd
......@@ -10,10 +10,6 @@ use yii\web\BadRequestHttpException;
class ShopUserController extends BaseController
{
public $modelClass = 'app\models\v1\shopuser\ShopUser';
public $serializer = [
'class' => 'yii\rest\Serializer',
'collectionEnvelope' => 'data',
];
/**
* @OA\GET(
......@@ -21,11 +17,11 @@ class ShopUserController extends BaseController
* tags={"用户&员工接口"},
* summary="员工信息列表(侯贺政)",
* description="员工信息列表",
* @OA\Parameter(name="page",in="query",@OA\Schema(type="int")),
* @OA\Parameter(name="NAME",in="query",@OA\Schema(type="string")),
* @OA\Parameter(name="EMPLOYEE_CODE",in="query",@OA\Schema(type="string")),
* @OA\Parameter(name="MOBILEPHONE",in="query",@OA\Schema(type="string")),
* @OA\Parameter(name="EMPLOYEE_BRANCH_GUID",in="query",@OA\Schema(type="string")),
* @OA\Parameter(name="page",in="query",description="分页页码",@OA\Schema(type="int")),
* @OA\Parameter(name="NAME",in="query",description="员工姓名",@OA\Schema(type="string")),
* @OA\Parameter(name="EMPLOYEE_CODE",in="query",description="员工编号",@OA\Schema(type="string")),
* @OA\Parameter(name="MOBILEPHONE",in="query",description="手机号",@OA\Schema(type="string")),
* @OA\Parameter(name="EMPLOYEE_BRANCH_GUID",description="用户所属门店GUID",in="query",@OA\Schema(type="string")),
* @OA\Response(response="200",description="
* GUID:用户GUID,
* NAME:姓名,
......@@ -57,7 +53,7 @@ class ShopUserController extends BaseController
* tags={"用户&员工接口"},
* summary="员工信息(侯贺政)",
* description="某员工的信息详情",
* @OA\Parameter(name="id",in="query",required=true,@OA\Schema(type="string")),
* @OA\Parameter(name="id",in="query",required=true,description="员工GUID",@OA\Schema(type="string")),
* @OA\Response(response="200",description="
* GUID:用户GUID,
* NAME:姓名,
......
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