提交 6f954af0 编写于 作者: KK's avatar KK

调试

上级 fd9ecbf3
......@@ -139,8 +139,8 @@ export class DingTalkService {
* @memberof DingTalkService
*/
public async login(): Promise<any> {
const access_token = await this.getAccess_token();
// const access_token :any= await this.get(`/uaa/open/dingtalk/access_token`);
// const access_token = await this.getAccess_token();
const access_token :any= await this.get(`/uaa/open/dingtalk/access_token`);
if (access_token.status == 200 && access_token.data && access_token.data.corp_id) {
localStorage.setItem("access_token", JSON.stringify(Object.assign(access_token, new Date().getTime)));
this.corpId = access_token.data.corp_id;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册