@fonixtree/magic-design 0.1.94 → 0.1.95

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.
@@ -87,7 +87,8 @@ var urlTypeMap = {
87
87
  AFFILIATE_STORE: 'AffiliateStore',
88
88
  ANCHOR: 'Anchor',
89
89
  MINI_API: 'MiniApi',
90
- AFFILIATE_PLATFORM: 'AffiliatePlatform'
90
+ AFFILIATE_PLATFORM: 'AffiliatePlatform',
91
+ AFFILIATE_MISSION_DETAIL: 'AffiliateMissionDetail'
91
92
  };
92
93
  exports.urlTypeMap = urlTypeMap;
93
94
  var respCodeMap = {
@@ -219,6 +219,18 @@ var newParseUrl = function newParseUrl(urlObj) {
219
219
  };
220
220
  break;
221
221
 
222
+ case _constants.urlTypeMap.AFFILIATE_MISSION_DETAIL:
223
+ // affiliate mission detail
224
+ link = "/taskDetail/" + value;
225
+ params = {
226
+ action: 'jump',
227
+ params: {
228
+ type: 'AFFILIATE_MISSION_DETAIL',
229
+ url: value
230
+ }
231
+ };
232
+ break;
233
+
222
234
  default:
223
235
  var map = {
224
236
  '/main/cart': 'CART',
@@ -87,7 +87,8 @@ var urlTypeMap = {
87
87
  AFFILIATE_STORE: 'AffiliateStore',
88
88
  ANCHOR: 'Anchor',
89
89
  MINI_API: 'MiniApi',
90
- AFFILIATE_PLATFORM: 'AffiliatePlatform'
90
+ AFFILIATE_PLATFORM: 'AffiliatePlatform',
91
+ AFFILIATE_MISSION_DETAIL: 'AffiliateMissionDetail'
91
92
  };
92
93
  exports.urlTypeMap = urlTypeMap;
93
94
  var respCodeMap = {
@@ -219,6 +219,18 @@ var newParseUrl = function newParseUrl(urlObj) {
219
219
  };
220
220
  break;
221
221
 
222
+ case _constants.urlTypeMap.AFFILIATE_MISSION_DETAIL:
223
+ // affiliate mission detail
224
+ link = "/taskDetail/" + value;
225
+ params = {
226
+ action: 'jump',
227
+ params: {
228
+ type: 'AFFILIATE_MISSION_DETAIL',
229
+ url: value
230
+ }
231
+ };
232
+ break;
233
+
222
234
  default:
223
235
  var map = {
224
236
  '/main/cart': 'CART',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.1.94",
4
+ "version": "0.1.95",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",