apifm-webapi 3.65.0 → 3.67.0
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 +102 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -266,6 +266,12 @@ module.exports = {
|
|
|
266
266
|
alipayQrcode2: (data) => {
|
|
267
267
|
return request('/pay/alipay/gate/paymentCode', true, 'post', data)
|
|
268
268
|
},
|
|
269
|
+
kasipayH5: (data) => {
|
|
270
|
+
return request('/pay/kasipay/h5', true, 'post', data)
|
|
271
|
+
},
|
|
272
|
+
hmpayJsapi: (data) => {
|
|
273
|
+
return request('/pay/sandpay/hmpay/jsapi', true, 'post', data)
|
|
274
|
+
},
|
|
269
275
|
login_wx: (code) => {
|
|
270
276
|
return request('/user/wxapp/login', true, 'post', {
|
|
271
277
|
code,
|
|
@@ -337,6 +343,9 @@ module.exports = {
|
|
|
337
343
|
register_mobile: (data) => {
|
|
338
344
|
return request('/user/m/register', true, 'post', data)
|
|
339
345
|
},
|
|
346
|
+
bannerTypes: () => {
|
|
347
|
+
return request('/banner/types', true, 'get')
|
|
348
|
+
},
|
|
340
349
|
banners: (data) => {
|
|
341
350
|
return request('/banner/list', true, 'get', data)
|
|
342
351
|
},
|
|
@@ -684,6 +693,9 @@ module.exports = {
|
|
|
684
693
|
withDrawLogs: (data) => {
|
|
685
694
|
return request('/user/withDraw/list', true, 'post', data)
|
|
686
695
|
},
|
|
696
|
+
withDrawSetting: () => {
|
|
697
|
+
return request('/user/withDraw/setting', true, 'get')
|
|
698
|
+
},
|
|
687
699
|
province: () => {
|
|
688
700
|
return request('/common/region/v2/province', false, 'get')
|
|
689
701
|
},
|
|
@@ -819,6 +831,9 @@ module.exports = {
|
|
|
819
831
|
uploadFileList: (path = '') => {
|
|
820
832
|
return request('/dfs/upload/list', true, 'post', { path })
|
|
821
833
|
},
|
|
834
|
+
uploadFileListV2: data => {
|
|
835
|
+
return request('/dfs/upload/list/v2', true, 'post', data)
|
|
836
|
+
},
|
|
822
837
|
galleryList: data => {
|
|
823
838
|
return request('/dfs/gallery', true, 'post', data)
|
|
824
839
|
},
|
|
@@ -870,6 +885,12 @@ module.exports = {
|
|
|
870
885
|
cmsArticleUseless: (data) => {
|
|
871
886
|
return request('/cms/news/useful', true, 'post', data)
|
|
872
887
|
},
|
|
888
|
+
cmsArticleModifyExtNumber: (data) => {
|
|
889
|
+
return request('/cms/news/modifyExtNumber', true, 'post', data)
|
|
890
|
+
},
|
|
891
|
+
newsOwnerUserViewStatistics: (data) => {
|
|
892
|
+
return request('/newsOwnerUserViewStatistics/list', true, 'post', data)
|
|
893
|
+
},
|
|
873
894
|
cmsPage: (key) => {
|
|
874
895
|
return request('/cms/page/info', true, 'get', { key })
|
|
875
896
|
},
|
|
@@ -1024,6 +1045,12 @@ module.exports = {
|
|
|
1024
1045
|
shortUrl: (url = '') => {
|
|
1025
1046
|
return request('/common/short-url/shorten', false, 'post', { url })
|
|
1026
1047
|
},
|
|
1048
|
+
shortUrlV2: (content) => {
|
|
1049
|
+
return request('/common/short-url/shorten/v2', false, 'post', { content })
|
|
1050
|
+
},
|
|
1051
|
+
shortUrlExpand: (suffix) => {
|
|
1052
|
+
return request('/common/short-url/expand', false, 'post', { suffix })
|
|
1053
|
+
},
|
|
1027
1054
|
smsValidateCode: (mobile, key = '', picCode = '') => {
|
|
1028
1055
|
return request('/verification/sms/get', true, 'get', { mobile, key, picCode })
|
|
1029
1056
|
},
|
|
@@ -1127,6 +1154,9 @@ module.exports = {
|
|
|
1127
1154
|
bindWxmpOpenid: data => {
|
|
1128
1155
|
return request('/user/wxmp/bindOpenid', true, 'post', data)
|
|
1129
1156
|
},
|
|
1157
|
+
wxmpOpenid: code => {
|
|
1158
|
+
return request('/user/wxmp/openid', true, 'get', { code })
|
|
1159
|
+
},
|
|
1130
1160
|
encryptedData: (code, encryptedData, iv) => {
|
|
1131
1161
|
return request('/user/wxapp/decode/encryptedData', true, 'post', {
|
|
1132
1162
|
code, encryptedData, iv
|
|
@@ -1283,6 +1313,12 @@ module.exports = {
|
|
|
1283
1313
|
gpsDistance: (data) => {
|
|
1284
1314
|
return request('/common/map/qq/distance', false, 'post', data)
|
|
1285
1315
|
},
|
|
1316
|
+
mockApi: (groupName, apiName, method) => {
|
|
1317
|
+
return request(`/mock/${groupName}/${apiName}`, true, method)
|
|
1318
|
+
},
|
|
1319
|
+
commonIP: (ip) => {
|
|
1320
|
+
return request('/common/ip', false, 'get', { ip })
|
|
1321
|
+
},
|
|
1286
1322
|
peisongfei: () => {
|
|
1287
1323
|
return request('/fee/peisong/list', true, 'get')
|
|
1288
1324
|
},
|
|
@@ -1341,6 +1377,12 @@ module.exports = {
|
|
|
1341
1377
|
cyTablePayOrder: data => {
|
|
1342
1378
|
return request('/cyTable/pay-order', true, 'post', data)
|
|
1343
1379
|
},
|
|
1380
|
+
cyTableInfo: id => {
|
|
1381
|
+
return request('/cyTable/info', true, 'get', { id })
|
|
1382
|
+
},
|
|
1383
|
+
cyTableList: data => {
|
|
1384
|
+
return request('/cyTable/list', true, 'post', data)
|
|
1385
|
+
},
|
|
1344
1386
|
goodsTimesSchedule: (goodsId = '', propertyChildIds = '', brandId = '', categoryId = '') => {
|
|
1345
1387
|
return request('/shop/goods/times/schedule', true, 'post', { goodsId, propertyChildIds, brandId, categoryId })
|
|
1346
1388
|
},
|
|
@@ -1685,6 +1727,9 @@ module.exports = {
|
|
|
1685
1727
|
cardMyLogs: data => {
|
|
1686
1728
|
return request('/card/logs', true, 'post', data)
|
|
1687
1729
|
},
|
|
1730
|
+
cardExchangeFromPwd: data => {
|
|
1731
|
+
return request('/card/exchange', true, 'post', data)
|
|
1732
|
+
},
|
|
1688
1733
|
// 收藏卡片
|
|
1689
1734
|
collectCardHis: data => {
|
|
1690
1735
|
return request('/collectCard/del', true, 'post', data)
|
|
@@ -1830,6 +1875,9 @@ module.exports = {
|
|
|
1830
1875
|
commonDays: (startDay = '', days = '') => {
|
|
1831
1876
|
return request('/common/days', false, 'get', { startDay, days })
|
|
1832
1877
|
},
|
|
1878
|
+
commonDiffMillis: (d1 = '', d2 = '') => {
|
|
1879
|
+
return request('/common/diffMillis', false, 'get', { d1, d2 })
|
|
1880
|
+
},
|
|
1833
1881
|
// 支付宝小程序
|
|
1834
1882
|
aliappUserRegister: data => {
|
|
1835
1883
|
return request('/user/aliapp/register', true, 'post', data)
|
|
@@ -1949,4 +1997,58 @@ module.exports = {
|
|
|
1949
1997
|
shopCategoryDetail: (id) => {
|
|
1950
1998
|
return request('/shopCategory/info', true, 'get', { id })
|
|
1951
1999
|
},
|
|
2000
|
+
contactList: () => {
|
|
2001
|
+
return request('/contact/list', true, 'get')
|
|
2002
|
+
},
|
|
2003
|
+
distributedLock: (key, seconds) => {
|
|
2004
|
+
return request('/distributedLock/lock', true, 'get', { key, seconds })
|
|
2005
|
+
},
|
|
2006
|
+
distributedLockRelease: (key) => {
|
|
2007
|
+
return request('/distributedLock/lock', true, 'get', { key })
|
|
2008
|
+
},
|
|
2009
|
+
communitySetting: () => {
|
|
2010
|
+
return request('/community/setting', true, 'get')
|
|
2011
|
+
},
|
|
2012
|
+
communityLeaderApply: data => {
|
|
2013
|
+
return request('/communityLeader/apply', true, 'post', data)
|
|
2014
|
+
},
|
|
2015
|
+
communityLeaderApplyInfo: token => {
|
|
2016
|
+
return request('/communityLeader/apply/info', true, 'get', { token })
|
|
2017
|
+
},
|
|
2018
|
+
communityLeaderBuy: token => {
|
|
2019
|
+
return request('/communityLeader/buy', true, 'post', { token })
|
|
2020
|
+
},
|
|
2021
|
+
communityOrderFahuo: data => {
|
|
2022
|
+
return request('/communityOrder/fahuo', true, 'post', data)
|
|
2023
|
+
},
|
|
2024
|
+
listingSet: () => {
|
|
2025
|
+
return request('/listingSet/info', true, 'get')
|
|
2026
|
+
},
|
|
2027
|
+
listingMyListing: (token) => {
|
|
2028
|
+
return request('/listingInfo/myListing', true, 'get', { token })
|
|
2029
|
+
},
|
|
2030
|
+
listingSave: data => {
|
|
2031
|
+
return request('/listingInfo/save', true, 'post', data)
|
|
2032
|
+
},
|
|
2033
|
+
listingDetail: (id) => {
|
|
2034
|
+
return request('/listingInfo/detail', true, 'get', { id })
|
|
2035
|
+
},
|
|
2036
|
+
listingCancel: (token, id) => {
|
|
2037
|
+
return request('/listingInfo/cancel', true, 'post', { token, id })
|
|
2038
|
+
},
|
|
2039
|
+
listingSuccess: (token, id) => {
|
|
2040
|
+
return request('/listingInfo/success', true, 'post', { token, id })
|
|
2041
|
+
},
|
|
2042
|
+
listingDelete: (token, id) => {
|
|
2043
|
+
return request('/listingInfo/delete', true, 'post', { token, id })
|
|
2044
|
+
},
|
|
2045
|
+
listingAddGoods: data => {
|
|
2046
|
+
return request('/listingInfo/addGoods', true, 'post', data)
|
|
2047
|
+
},
|
|
2048
|
+
listingRemoveGoods: data => {
|
|
2049
|
+
return request('/listingInfo/removeGoods', true, 'post', data)
|
|
2050
|
+
},
|
|
2051
|
+
listingJoinList: data => {
|
|
2052
|
+
return request('/listingInfo/joinList', true, 'post', data)
|
|
2053
|
+
},
|
|
1952
2054
|
}
|
package/package.json
CHANGED