apifm-webapi 25.4.13 → 25.4.17
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/index.js +9 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -89,6 +89,12 @@ module.exports = {
|
|
|
89
89
|
nextMobileSegment: (data) => {
|
|
90
90
|
return request('/common/mobile-segment/next', false, 'post', data)
|
|
91
91
|
},
|
|
92
|
+
queryMobileLocationV2: (mobile = '') => {
|
|
93
|
+
return request('https://common.apifm.com/' + subDomain + '/common/mobile-segment/location', false, 'get', { mobile })
|
|
94
|
+
},
|
|
95
|
+
nextMobileSegmentV2: (data) => {
|
|
96
|
+
return request('https://common.apifm.com/' + subDomain + '/common/mobile-segment/next', false, 'post', data)
|
|
97
|
+
},
|
|
92
98
|
forexRate: (fromCode, toCode) => {
|
|
93
99
|
return request('/forex/rate', true, 'get', { fromCode, toCode })
|
|
94
100
|
},
|
|
@@ -1169,6 +1175,9 @@ module.exports = {
|
|
|
1169
1175
|
modifyUserInfo: (data) => {
|
|
1170
1176
|
return request('/user/modify', true, 'post', data)
|
|
1171
1177
|
},
|
|
1178
|
+
modifyUserInfoV2: (data) => {
|
|
1179
|
+
return request('https://common.apifm.com/' + subDomain + '/user/modify', false, 'post', data)
|
|
1180
|
+
},
|
|
1172
1181
|
bindSaleman: data => {
|
|
1173
1182
|
return request('/user/bindSaleman', true, 'post', data)
|
|
1174
1183
|
},
|
package/package.json
CHANGED