Commit 36898491 authored by 李腾's avatar 李腾

fix: 更换修改密码接口&处理兼容菜单接口共功能类型的数据结构

parent 156429e3
......@@ -30,7 +30,7 @@ const MenuModel = {
const value = [];
const data = [...tableData];
data
.filter(item => item.node && item.node.uri !== '/systemManage')
.filter(item => item.node && item.node.code !== 'applets' && item.node.type.value < 3)
.forEach(item => {
let obj = {};
obj = { ...item.node };
......
......@@ -5,7 +5,7 @@ const { api } = config;
// 商户后台密码修改-校验
export async function passwordRule(params) {
const data = await request.post('/user/ex/validate-password-rule', {
const data = await request.post('/v2/user/password/validate', {
prefix: api,
data: params,
});
......@@ -14,7 +14,7 @@ export async function passwordRule(params) {
// 商户后台密码修改
export async function resetPassword(params) {
const data = await request.post('/user/ex/supply/reset-password', {
const data = await request.post('/v2/user/password/reset', {
prefix: api,
data: params,
});
......
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