jufubao-base 1.0.119-beta6 → 1.0.119-beta7

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-beta6",
3
+ "version": "1.0.119-beta7",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
- aaaa: {}
4
+ getHomeConfig: {
5
+ index_config: ""
6
+ }
5
7
  }
@@ -266,6 +266,10 @@
266
266
  logo = getServiceUrl(this.projectAttr["site_logo"], "size3");
267
267
  this.callback_url = getContainerPropsValue(container, "content.callback_url", {value: ''}).value;
268
268
  this.forget_pwd_url = getContainerPropsValue(container, "content.forget_pwd_url", {value: ''}).value;
269
+ this.error_callback_url = getContainerPropsValue(container, 'content.error_callback_url', {value: ""}).value;
270
+ this.phone_auth_callback_url = getContainerPropsValue(container, 'content.phone_auth_callback_url', {value: ""}).value;
271
+ this.phone_number_login_url = getContainerPropsValue(container, 'content.phone_number_login_url', {value: ""}).value;
272
+
269
273
  this.logo = logo || "//dummyimage.com/100x100";
270
274
  this.partnerName = name || "聚福宝福利";
271
275
  this.logoTextColor = getContainerPropsValue(container, "content.logoTextColor", "#333");
@@ -1,5 +1,22 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
- aaaa: {}
4
+ getPlatform: {
5
+ "quick_enabled":true,
6
+ "quick":{
7
+ "login_platform_code":"QW",
8
+ "login_platform_name":"企业微信",
9
+ "is_redirect":"Y",
10
+ "redirect_url":"https:\/\/open.weixin.qq.com\/connect\/oauth2\/authorize?appid=ww536f135bd214558c&redirect_uri=https%3A%2F%2Fsandbox-apis.jufubao.cn%2Fsaas%2Fv1%2Flogin%2Fqw%2Fcode-login%3Fcallback_url%3Dhttp%253A%252F%252Fsandbox-template.jufubao.cn%252Fsaas%252Fpages%252Fmain%252Fhome%26phone_number_login_url%3Dhttp%253A%252F%252Fsandbox-template.jufubao.cn%252Fsaas%26error_callback_url%3Dhttp%253A%252F%252Fsandbox-template.jufubao.cn%252Fsaas%26phone_auth_callback_url%3Dhttp%253A%252F%252Fsandbox-template.jufubao.cn%252Fsaas&response_type=code&scope=snsapi_userinfo&state=STATE&agentid=1000002#wechat_redirect"
11
+ },
12
+ "other": [
13
+ {
14
+ "login_platform_code": "JFB",
15
+ "login_platform_name": "聚福宝",
16
+ "is_redirect": "N",
17
+ "redirect_url": ""
18
+ }
19
+ ],
20
+ "request_id":"53257911b85456f9"
21
+ }
5
22
  }