diff --git a/src/api/modules/mer_admin.js b/src/api/modules/mer_admin.js index 41a0e3d..c4afa2b 100644 --- a/src/api/modules/mer_admin.js +++ b/src/api/modules/mer_admin.js @@ -178,4 +178,16 @@ export const mer_admin = { changePassword: (data) => { return $http.put(`/merchant-api/brand/admin_password`, data); }, + //修改管理员 + editAdmin: (data) => { + return $http.put(`/merchant-api/brand/change/administrator`, data); + }, + //获取验证码 + getCaptcha: (data) => { + return $http.request({ + method: "get", + url: `/merchant-api/brand/sms_code`, + params: data, + }); + }, }; diff --git a/src/views/modules/brand/config/index.vue b/src/views/modules/brand/config/index.vue index 43c6c45..3ae92df 100644 --- a/src/views/modules/brand/config/index.vue +++ b/src/views/modules/brand/config/index.vue @@ -35,7 +35,7 @@