Commit 10450e19 authored by wangqinghua's avatar wangqinghua

bug update

parent d86add62
......@@ -304,10 +304,9 @@ export class GroupComponent implements OnInit {
//重置密码
initPassword(item) {
const data = {
userIds: item.id,
orgId: item.organizationId
userName: item.name,
};
this.systemSer.initPassword(data).subscribe(
this.systemSer.resetPassword(data).subscribe(
(res) => {
if (res.errCode == 10000) {
this.message.success('重置密码成功');
......
......@@ -260,8 +260,8 @@ export class SystemService {
}
//重置密码
initPassword(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/initPassword', data);
resetPassword(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/user/resetPassword', data);
}
/**
......
......@@ -10,7 +10,7 @@
"noImplicitAny": false,
"skipLibCheck": true,
"suppressImplicitAnyIndexErrors": true,
"outDir": "build/www/app",
"outDir": "build/master/app",
"lib": ["es7", "dom"],
"typeRoots": [
"node_modules/@types"
......
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