apifm-webapi 26.6.1 → 26.6.3
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 +8 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -647,6 +647,9 @@ module.exports = {
|
|
|
647
647
|
type
|
|
648
648
|
})
|
|
649
649
|
},
|
|
650
|
+
friendlyPartnerListV2: (data) => {
|
|
651
|
+
return request(COMMON_BASE_URL + subDomain + '/friendly-partner/list', false, 'post', data)
|
|
652
|
+
},
|
|
650
653
|
friendList: (data) => {
|
|
651
654
|
return request('/user/friend/list', true, 'post', data)
|
|
652
655
|
},
|
|
@@ -1376,10 +1379,13 @@ module.exports = {
|
|
|
1376
1379
|
return request('/common/short-url/expand', false, 'post', { suffix })
|
|
1377
1380
|
},
|
|
1378
1381
|
smsValidateCode: (mobile, key = '', picCode = '') => {
|
|
1379
|
-
return request('/verification/sms/get',
|
|
1382
|
+
return request(COMMON_BASE_URL + subDomain + '/verification/sms/get', false, 'get', { mobile, key, picCode })
|
|
1383
|
+
},
|
|
1384
|
+
smsValidateCodeByToken: (token) => {
|
|
1385
|
+
return request(COMMON_BASE_URL + subDomain + '/verification/sms/get-by-token', false, 'get', { token })
|
|
1380
1386
|
},
|
|
1381
1387
|
smsValidateCodeCheck: (mobile, code) => {
|
|
1382
|
-
return request('/verification/sms/check',
|
|
1388
|
+
return request(COMMON_BASE_URL + subDomain + '/verification/sms/check', false, 'post', { mobile, code })
|
|
1383
1389
|
},
|
|
1384
1390
|
mailValidateCode: (mail) => {
|
|
1385
1391
|
return request(COMMON_BASE_URL + subDomain + '/verification/mail/get', false, 'get', { mail })
|