|
|
|
@ -1,12 +1,12 @@ |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
|
|
|
|
|
const host = Setting.apiBaseURL |
|
|
|
|
const uploadURL = Setting.uploadURL |
|
|
|
|
const host = 'http://39.108.250.202:9000/' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
|
|
|
|
logins: `users/users/user/login`, //登录
|
|
|
|
|
verification: `${Setting.host}users/users/user/captcha`,// 验证码图片
|
|
|
|
|
verification: `${host}users/users/user/captcha`,// 验证码图片
|
|
|
|
|
bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机
|
|
|
|
|
sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码
|
|
|
|
|
|
|
|
|
@ -50,19 +50,21 @@ export default { |
|
|
|
|
// 用户管理
|
|
|
|
|
delUserAccounts: `users/users/userAccount/delUserAccounts`, |
|
|
|
|
queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`, |
|
|
|
|
personalFile: `users/users/userAccount/personalFile`, |
|
|
|
|
|
|
|
|
|
queryUserInfoList: `users/users/userAccount/queryUserInfoList`, |
|
|
|
|
resetPwd: `users/users/userAccount/resetPwd`, |
|
|
|
|
selectAccountDetail: `users/users/userAccount/selectAccountDetail`, |
|
|
|
|
selectUserSysBind: `users/users/userAccount/selectUserSysBind`, |
|
|
|
|
updatePersonCenter: `users/users/userAccount/updatePersonCenter`, |
|
|
|
|
updateUserAvatars: `${Setting.host}users/users/userAccount/updateUserAvatars`, |
|
|
|
|
updateUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, |
|
|
|
|
userInfo: `users/users/userAccount/userInfo`, |
|
|
|
|
// bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,
|
|
|
|
|
// sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,
|
|
|
|
|
unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`, |
|
|
|
|
updateAccountEnable: `users/users/userAccount/updateAccountEnable`, |
|
|
|
|
updateAccountAllEnable: `users/users/userAccount/updateAccountAllEnable`, |
|
|
|
|
examinePassword: `users/users/userAccount/examinePassword`, |
|
|
|
|
viewUserDetailsforNakadai: `users/users/userAccount/viewUserDetailsforNakadai`, |
|
|
|
|
oneClickEnableVerification: `users/users/userAccount/oneClickEnableVerification`, |
|
|
|
|
|
|
|
|
|
queryOrder: `liuwanr/order/queryOrder`, //查询订单
|
|
|
|
|
queryOrderDetails: `liuwanr/order/queryOrderDetails`, //查询订单详情
|
|
|
|
@ -227,8 +229,8 @@ export default { |
|
|
|
|
saveStaff: `nakadai/backstageStaff/saveStaff`, |
|
|
|
|
staffDetail: `nakadai/backstageStaff/staffDetail`, |
|
|
|
|
staffList: `nakadai/backstageStaff/staffList`, |
|
|
|
|
importStaff: `${Setting.host}nakadai/backstageStaff/importStaff`, |
|
|
|
|
exportFailure: `${Setting.host}nakadai/backstageStaff/exportFailure`, |
|
|
|
|
importStaff: `${host}nakadai/backstageStaff/importStaff`, |
|
|
|
|
exportFailure: `${host}nakadai/backstageStaff/exportFailure`, |
|
|
|
|
|
|
|
|
|
// 角色管理
|
|
|
|
|
batchRemove: `users/role/batchRemove`, //批量删除角色
|
|
|
|
|