jufubao-base 1.0.119-beta5 → 1.0.119-beta6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.119-beta5",
3
+ "version": "1.0.119-beta6",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -358,13 +358,14 @@
358
358
  dd.getAuthCode({
359
359
  corpId: quickLogin.corp_id,
360
360
  success: (res) => {
361
- console.log("钉钉授权成功", res);
362
- const { authCode } = res;
361
+ console.warn("钉钉授权成功");
362
+ console.warn(JSON.stringify(res));
363
+ const { code } = res;
363
364
  jfbRootExec("loginDing", {
364
365
  vm: this,
365
366
  data: {
366
367
  sub_company_id: this.sub_company_id,
367
- code: authCode
368
+ code: code
368
369
  }
369
370
  }).then(res => {
370
371
  const { access_code, phone_auth, phone_number } = res;