apifm-webapi 26.1.7 → 26.1.10
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1295,7 +1295,7 @@ module.exports = {
|
|
|
1295
1295
|
return request('/uniqueId/get', true, 'get', { type })
|
|
1296
1296
|
},
|
|
1297
1297
|
sequence: (type = '', defValue = '') => {
|
|
1298
|
-
return request('/uniqueId/sequence',
|
|
1298
|
+
return request(COMMON_BASE_URL + subDomain + '/uniqueId/sequence', false, 'get', { type, defValue })
|
|
1299
1299
|
},
|
|
1300
1300
|
queryBarcode: (barcode = '') => {
|
|
1301
1301
|
return request('/barcode/info', true, 'get', { barcode })
|
|
@@ -1705,7 +1705,7 @@ module.exports = {
|
|
|
1705
1705
|
return request(COMMON_BASE_URL + subDomain + '/user/q/qrcode', false, 'post', { content })
|
|
1706
1706
|
},
|
|
1707
1707
|
siteStatistics: () => {
|
|
1708
|
-
return request('/site/statistics',
|
|
1708
|
+
return request(COMMON_BASE_URL + subDomain + '/site/statistics', false, 'get')
|
|
1709
1709
|
},
|
|
1710
1710
|
authorization: (data) => {
|
|
1711
1711
|
return request('/user/wxmp/auth', true, 'post', data)
|