diff --git a/src/app/external-links-plan/external-links-plan.component.ts b/src/app/external-links-plan/external-links-plan.component.ts index 7d6a9e1..01474da 100644 --- a/src/app/external-links-plan/external-links-plan.component.ts +++ b/src/app/external-links-plan/external-links-plan.component.ts @@ -132,10 +132,18 @@ export class ExternalLinksPlanComponent implements OnInit { async login() { await new Promise((resolve, reject) => { + let { appKey, signature, timestamp } = this.route.snapshot.queryParams; + if (!appKey || !signature || !timestamp) { + alert("url参数不完整"); + return; + } this.http - .post("/api/Account/SignIn", { - name: "zhuzhouyuanchakan", - password: "12345678", + .get("/api/Account/VerifyAppInfo", { + params: { + appKey: appKey, + signature: signature, + timestamp: timestamp, + }, }) .subscribe((data: any) => { sessionStorage.setItem("level", data.level);