Ver código fonte

修复重置租户密码接口

zuohuaijun 4 anos atrás
pai
commit
cbd3379ec1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Vben2/src/api/sys/admin.ts

+ 1 - 1
Vben2/src/api/sys/admin.ts

@@ -422,5 +422,5 @@ export const tenantOwnMenuList = (id: number) =>
   defHttp.get<any>({ url: Api.TenantOwnMenuList, params: { id } });
 //重置租户密码
 export function resetTenantPwd(params?: any) {
-  return defHttp.post<any>({ url: Api.ResetTenantPwd, params });
+  return defHttp.post<any>({ url: Api.ResetTenantPwd, params: { id } });
 }