src/api/fysp/userApi.js
@@ -28,7 +28,9 @@ * 自动创建账户 */ autoCreateAccount(sId) { return $fysp.post(`userinfo/create?sceneId=${sId}`).then((res) => res.data); return $fysp .post(`userinfo/create?sceneId=${sId}`, {}) .then((res) => res.data); }, /** * 获取场景对应的飞羽环境系统用户id @@ -44,5 +46,13 @@ return $fysp .get(`userinfo/type/get`, { params: { typeId, enable } }) .then((res) => res.data); }, searchUser(areaVo, keyword, page, perPage) { return $fysp .post(`userinfo/search`, areaVo, { params: { keyword, userType: 3, page, perPage } }) .then((res) => res.data); } };