Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yh_vendor
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
叶弯弯
9 years ago
Commit
6bb595251d68b116e4be383b25a8a64814f60f9c
2 parents
3cac7608
35c8379b
Merge branch 'develop' of git.yoho.cn:mobile/yh_vendor into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
ios/YH_Vendor.xcodeproj/project.pbxproj
ios/YH_Vendor/AppDelegate.m
js/reducers/refoundStatistics/refoundStatisticsReducer.js
js/services/HomeService.js
ios/YH_Vendor.xcodeproj/project.pbxproj
View file @
6bb5952
...
...
@@ -445,9 +445,9 @@
"-ObjC",
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.
marketplace
;
PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.
vendor
;
PRODUCT_NAME = YH_Vendor;
PROVISIONING_PROFILE = "
c7f1ffb1-28c3-4ecb-b185-c21e7cf62a85
";
PROVISIONING_PROFILE = "
7f2483ba-6187-4868-b1a8-9cc91bf1fd73
";
};
name = Debug;
};
...
...
@@ -475,9 +475,9 @@
"-ObjC",
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.
marketplace
;
PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.
vendor
;
PRODUCT_NAME = YH_Vendor;
PROVISIONING_PROFILE = "
b1f4ea2a-a435-4a56-b648-390635342be6
";
PROVISIONING_PROFILE = "
9596d093-33c8-4fe4-9808-c898268171ce
";
};
name = Release;
};
...
...
ios/YH_Vendor/AppDelegate.m
View file @
6bb5952
...
...
@@ -30,7 +30,7 @@
* `inet` value under `en0:`) and make sure your computer and iOS device are
* on the same Wi-Fi network.
*/
#if DEBUG
jsCodeLocation
=
[
NSURL
URLWithString
:
@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"
];
/**
...
...
@@ -40,8 +40,9 @@
* running the project on an actual device or running the project on the
* simulator in the "Release" build configuration.
*/
// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#else
jsCodeLocation
=
[[
NSBundle
mainBundle
]
URLForResource
:
@"main"
withExtension
:
@"jsbundle"
];
#endif
RCTRootView
*
rootView
=
[[
RCTRootView
alloc
]
initWithBundleURL
:
jsCodeLocation
moduleName
:
@"YH_Vendor"
...
...
js/reducers/refoundStatistics/refoundStatisticsReducer.js
View file @
6bb5952
...
...
@@ -33,7 +33,7 @@ export default function refoundStatisticsReducer(state = initialState, action) {
if
(
list
)
{
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
let
item
=
action
.
payload
.
list
[
i
];
sixMonths
.
push
(
moment
(
item
.
dateId
).
format
(
'MM月'
));
sixMonths
.
push
(
moment
(
item
.
dateId
,
'YYYYMM'
).
format
(
'MM月'
));
trendInSixMonth
.
push
(
item
.
allNums
);
}
}
...
...
js/services/HomeService.js
View file @
6bb5952
...
...
@@ -49,7 +49,7 @@ export default class UserService {
return
await
this
.
api
.
get
({
url
:
''
,
body
:
{
method
:
'app.shops.balance'
,
method
:
'app.shops.
account
balance'
,
...
params
,
}
})
...
...
Please
register
or
login
to post a comment