Merge branch 'develop' of git.yoho.cn:mobile/yh_vendor into develop
Showing
4 changed files
with
10 additions
and
9 deletions
@@ -445,9 +445,9 @@ | @@ -445,9 +445,9 @@ | ||
445 | "-ObjC", | 445 | "-ObjC", |
446 | "-lc++", | 446 | "-lc++", |
447 | ); | 447 | ); |
448 | - PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.marketplace; | 448 | + PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.vendor; |
449 | PRODUCT_NAME = YH_Vendor; | 449 | PRODUCT_NAME = YH_Vendor; |
450 | - PROVISIONING_PROFILE = "c7f1ffb1-28c3-4ecb-b185-c21e7cf62a85"; | 450 | + PROVISIONING_PROFILE = "7f2483ba-6187-4868-b1a8-9cc91bf1fd73"; |
451 | }; | 451 | }; |
452 | name = Debug; | 452 | name = Debug; |
453 | }; | 453 | }; |
@@ -475,9 +475,9 @@ | @@ -475,9 +475,9 @@ | ||
475 | "-ObjC", | 475 | "-ObjC", |
476 | "-lc++", | 476 | "-lc++", |
477 | ); | 477 | ); |
478 | - PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.marketplace; | 478 | + PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.vendor; |
479 | PRODUCT_NAME = YH_Vendor; | 479 | PRODUCT_NAME = YH_Vendor; |
480 | - PROVISIONING_PROFILE = "b1f4ea2a-a435-4a56-b648-390635342be6"; | 480 | + PROVISIONING_PROFILE = "9596d093-33c8-4fe4-9808-c898268171ce"; |
481 | }; | 481 | }; |
482 | name = Release; | 482 | name = Release; |
483 | }; | 483 | }; |
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | * `inet` value under `en0:`) and make sure your computer and iOS device are | 30 | * `inet` value under `en0:`) and make sure your computer and iOS device are |
31 | * on the same Wi-Fi network. | 31 | * on the same Wi-Fi network. |
32 | */ | 32 | */ |
33 | - | 33 | +#if DEBUG |
34 | jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"]; | 34 | jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"]; |
35 | 35 | ||
36 | /** | 36 | /** |
@@ -40,8 +40,9 @@ | @@ -40,8 +40,9 @@ | ||
40 | * running the project on an actual device or running the project on the | 40 | * running the project on an actual device or running the project on the |
41 | * simulator in the "Release" build configuration. | 41 | * simulator in the "Release" build configuration. |
42 | */ | 42 | */ |
43 | - | ||
44 | -// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; | 43 | +#else |
44 | + jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; | ||
45 | +#endif | ||
45 | 46 | ||
46 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation | 47 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation |
47 | moduleName:@"YH_Vendor" | 48 | moduleName:@"YH_Vendor" |
@@ -33,7 +33,7 @@ export default function refoundStatisticsReducer(state = initialState, action) { | @@ -33,7 +33,7 @@ export default function refoundStatisticsReducer(state = initialState, action) { | ||
33 | if (list) { | 33 | if (list) { |
34 | for (var i = 0; i < list.length; i++) { | 34 | for (var i = 0; i < list.length; i++) { |
35 | let item = action.payload.list[i]; | 35 | let item = action.payload.list[i]; |
36 | - sixMonths.push(moment(item.dateId).format('MM月')); | 36 | + sixMonths.push(moment(item.dateId, 'YYYYMM').format('MM月')); |
37 | trendInSixMonth.push(item.allNums); | 37 | trendInSixMonth.push(item.allNums); |
38 | } | 38 | } |
39 | } | 39 | } |
@@ -49,7 +49,7 @@ export default class UserService { | @@ -49,7 +49,7 @@ export default class UserService { | ||
49 | return await this.api.get({ | 49 | return await this.api.get({ |
50 | url:'', | 50 | url:'', |
51 | body: { | 51 | body: { |
52 | - method: 'app.shops.balance', | 52 | + method: 'app.shops.accountbalance', |
53 | ...params, | 53 | ...params, |
54 | } | 54 | } |
55 | }) | 55 | }) |
-
Please register or login to post a comment