jufubao-base 1.0.17 → 1.0.18

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.17",
3
+ "version": "1.0.18",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -67,10 +67,10 @@ module.exports = [
67
67
  {
68
68
  mapFnName: 'sendMsg',
69
69
  title: '发送验证码',
70
- path: '/api/account/sendMsg',
70
+ path: '/common/v1/valid_code/sms/send',
71
71
  isRule: false,
72
- params: {
73
- phone: ['手机号', 'String', '必选'],
72
+ data: {
73
+ phone_number: ['手机号', 'String', '必选'],
74
74
  },
75
75
  isConsole: true,
76
76
  disabled: true,
@@ -199,7 +199,7 @@
199
199
  created() {
200
200
  this.init(this.container);
201
201
  //todo
202
- this.p_getListProviders();
202
+ // this.p_getListProviders();
203
203
  },
204
204
 
205
205
  methods: {
@@ -208,16 +208,16 @@
208
208
  console.log("content", value.component.props.content);
209
209
  },
210
210
  p_getListProviders(){
211
+ let providers = this.projectAttr.login_providers || '62fde99f2583a19c58fd937b,62fde9432583a19c58fd937a';
211
212
  jfbRootExec("listSiteProvider", {
212
213
  vm: this,
213
214
  data: {
214
- providers: '62fde9432583a19c58fd937a,6319bcac7fe94cdbc8861d6a',
215
+ providers: providers,
215
216
  callback_url: 'http://sandbox-editx.jufubao.cn/editx',
216
217
  phone_number_login_url: 'http://sandbox-editx.jufubao.cn/editx',
217
218
  phone_number_collect_url: 'http://sandbox-editx.jufubao.cn/editx'
218
219
  }
219
220
  }).then(res => {
220
- console.log("listSiteProvider: ", res);
221
221
  if(res.quick_enabled){
222
222
  this.hasAuthLogin = true;
223
223
  this.quickLogin = res.quick;
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -72,6 +72,15 @@ export default {
72
72
  default() {
73
73
  return {}
74
74
  }
75
+ },
76
+ /**
77
+ * @description 项目配置文件
78
+ */
79
+ projectAttr: {
80
+ type: Object || null,
81
+ default() {
82
+ return {}
83
+ }
75
84
  }
76
85
  },
77
86
  data() {
@@ -72,6 +72,15 @@ export default {
72
72
  default() {
73
73
  return {}
74
74
  }
75
+ },
76
+ /**
77
+ * @description 项目配置文件
78
+ */
79
+ projectAttr: {
80
+ type: Object || null,
81
+ default() {
82
+ return {}
83
+ }
75
84
  }
76
85
  },
77
86
  data() {
@@ -72,6 +72,15 @@ export default {
72
72
  default() {
73
73
  return {}
74
74
  }
75
+ },
76
+ /**
77
+ * @description 项目配置文件
78
+ */
79
+ projectAttr: {
80
+ type: Object || null,
81
+ default() {
82
+ return {}
83
+ }
75
84
  }
76
85
  },
77
86
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {
@@ -76,6 +76,15 @@ export default {
76
76
  default() {
77
77
  return {}
78
78
  }
79
+ },
80
+ /**
81
+ * @description 项目配置文件
82
+ */
83
+ projectAttr: {
84
+ type: Object || null,
85
+ default() {
86
+ return {}
87
+ }
79
88
  }
80
89
  },
81
90
  data() {