apifm-webapi 3.66.0 → 3.68.1
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 +193 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -266,6 +266,18 @@ module.exports = {
|
|
|
266
266
|
alipayQrcode2: (data) => {
|
|
267
267
|
return request('/pay/alipay/gate/paymentCode', true, 'post', data)
|
|
268
268
|
},
|
|
269
|
+
alipayH5: (data) => {
|
|
270
|
+
return request('/pay/alipay/gate/h5', true, 'post', data)
|
|
271
|
+
},
|
|
272
|
+
alipayPC: (data) => {
|
|
273
|
+
return request('/pay/alipay/gate/pc', true, 'post', data)
|
|
274
|
+
},
|
|
275
|
+
kasipayH5: (data) => {
|
|
276
|
+
return request('/pay/kasipay/h5', true, 'post', data)
|
|
277
|
+
},
|
|
278
|
+
hmpayJsapi: (data) => {
|
|
279
|
+
return request('/pay/sandpay/hmpay/jsapi', true, 'post', data)
|
|
280
|
+
},
|
|
269
281
|
login_wx: (code) => {
|
|
270
282
|
return request('/user/wxapp/login', true, 'post', {
|
|
271
283
|
code,
|
|
@@ -626,6 +638,12 @@ module.exports = {
|
|
|
626
638
|
orderReputationList: (data) => {
|
|
627
639
|
return request('/order/listReputation', true, 'post', data)
|
|
628
640
|
},
|
|
641
|
+
orderReputationDelete: (data) => {
|
|
642
|
+
return request('/order/reputation/delete', true, 'post', data)
|
|
643
|
+
},
|
|
644
|
+
orderReputationModify: (data) => {
|
|
645
|
+
return request('/order/reputation/modify', true, 'post', data)
|
|
646
|
+
},
|
|
629
647
|
orderClose: (token, orderId) => {
|
|
630
648
|
return request('/order/close', true, 'post', {
|
|
631
649
|
orderId,
|
|
@@ -644,6 +662,9 @@ module.exports = {
|
|
|
644
662
|
token
|
|
645
663
|
})
|
|
646
664
|
},
|
|
665
|
+
orderPayV2: data => {
|
|
666
|
+
return request('/order/pay', true, 'post', data)
|
|
667
|
+
},
|
|
647
668
|
orderHX: (hxNumber) => {
|
|
648
669
|
return request('/order/hx', true, 'post', {
|
|
649
670
|
hxNumber
|
|
@@ -825,6 +846,9 @@ module.exports = {
|
|
|
825
846
|
uploadFileList: (path = '') => {
|
|
826
847
|
return request('/dfs/upload/list', true, 'post', { path })
|
|
827
848
|
},
|
|
849
|
+
uploadFileListV2: data => {
|
|
850
|
+
return request('/dfs/upload/list/v2', true, 'post', data)
|
|
851
|
+
},
|
|
828
852
|
galleryList: data => {
|
|
829
853
|
return request('/dfs/gallery', true, 'post', data)
|
|
830
854
|
},
|
|
@@ -948,6 +972,9 @@ module.exports = {
|
|
|
948
972
|
shopReputationList: (data) => {
|
|
949
973
|
return request('/shop/subshop/listReputation', true, 'post', data)
|
|
950
974
|
},
|
|
975
|
+
shopPicList: (data) => {
|
|
976
|
+
return request('/shop/subshop/shopPics', true, 'post', data)
|
|
977
|
+
},
|
|
951
978
|
shopFavPut: (token, shopId) => {
|
|
952
979
|
return request('/shop/fav/add', true, 'post', { token, shopId })
|
|
953
980
|
},
|
|
@@ -1036,6 +1063,12 @@ module.exports = {
|
|
|
1036
1063
|
shortUrl: (url = '') => {
|
|
1037
1064
|
return request('/common/short-url/shorten', false, 'post', { url })
|
|
1038
1065
|
},
|
|
1066
|
+
shortUrlV2: (content) => {
|
|
1067
|
+
return request('/common/short-url/shorten/v2', false, 'post', { content })
|
|
1068
|
+
},
|
|
1069
|
+
shortUrlExpand: (suffix) => {
|
|
1070
|
+
return request('/common/short-url/expand', false, 'post', { suffix })
|
|
1071
|
+
},
|
|
1039
1072
|
smsValidateCode: (mobile, key = '', picCode = '') => {
|
|
1040
1073
|
return request('/verification/sms/get', true, 'get', { mobile, key, picCode })
|
|
1041
1074
|
},
|
|
@@ -1139,6 +1172,9 @@ module.exports = {
|
|
|
1139
1172
|
bindWxmpOpenid: data => {
|
|
1140
1173
|
return request('/user/wxmp/bindOpenid', true, 'post', data)
|
|
1141
1174
|
},
|
|
1175
|
+
wxmpOpenid: code => {
|
|
1176
|
+
return request('/user/wxmp/openid', true, 'get', { code })
|
|
1177
|
+
},
|
|
1142
1178
|
encryptedData: (code, encryptedData, iv) => {
|
|
1143
1179
|
return request('/user/wxapp/decode/encryptedData', true, 'post', {
|
|
1144
1180
|
code, encryptedData, iv
|
|
@@ -1147,6 +1183,9 @@ module.exports = {
|
|
|
1147
1183
|
scoreDeductionRules: () => {
|
|
1148
1184
|
return request('/score/deduction/rules', true, 'get', {})
|
|
1149
1185
|
},
|
|
1186
|
+
scoreDailyFixedNum: token => {
|
|
1187
|
+
return request('/score/dailyFixedNum', true, 'post', { token })
|
|
1188
|
+
},
|
|
1150
1189
|
voteItems: (data) => {
|
|
1151
1190
|
return request('/vote/items', true, 'post', data)
|
|
1152
1191
|
},
|
|
@@ -1295,6 +1334,12 @@ module.exports = {
|
|
|
1295
1334
|
gpsDistance: (data) => {
|
|
1296
1335
|
return request('/common/map/qq/distance', false, 'post', data)
|
|
1297
1336
|
},
|
|
1337
|
+
mockApi: (groupName, apiName, method) => {
|
|
1338
|
+
return request(`/mock/${groupName}/${apiName}`, true, method)
|
|
1339
|
+
},
|
|
1340
|
+
commonIP: (ip) => {
|
|
1341
|
+
return request('/common/ip', false, 'get', { ip })
|
|
1342
|
+
},
|
|
1298
1343
|
peisongfei: () => {
|
|
1299
1344
|
return request('/fee/peisong/list', true, 'get')
|
|
1300
1345
|
},
|
|
@@ -1353,6 +1398,12 @@ module.exports = {
|
|
|
1353
1398
|
cyTablePayOrder: data => {
|
|
1354
1399
|
return request('/cyTable/pay-order', true, 'post', data)
|
|
1355
1400
|
},
|
|
1401
|
+
cyTableInfo: id => {
|
|
1402
|
+
return request('/cyTable/info', true, 'get', { id })
|
|
1403
|
+
},
|
|
1404
|
+
cyTableList: data => {
|
|
1405
|
+
return request('/cyTable/list', true, 'post', data)
|
|
1406
|
+
},
|
|
1356
1407
|
goodsTimesSchedule: (goodsId = '', propertyChildIds = '', brandId = '', categoryId = '') => {
|
|
1357
1408
|
return request('/shop/goods/times/schedule', true, 'post', { goodsId, propertyChildIds, brandId, categoryId })
|
|
1358
1409
|
},
|
|
@@ -1845,6 +1896,9 @@ module.exports = {
|
|
|
1845
1896
|
commonDays: (startDay = '', days = '') => {
|
|
1846
1897
|
return request('/common/days', false, 'get', { startDay, days })
|
|
1847
1898
|
},
|
|
1899
|
+
commonDiffMillis: (d1 = '', d2 = '') => {
|
|
1900
|
+
return request('/common/diffMillis', false, 'get', { d1, d2 })
|
|
1901
|
+
},
|
|
1848
1902
|
// 支付宝小程序
|
|
1849
1903
|
aliappUserRegister: data => {
|
|
1850
1904
|
return request('/user/aliapp/register', true, 'post', data)
|
|
@@ -1907,6 +1961,33 @@ module.exports = {
|
|
|
1907
1961
|
organizeMembers: data => {
|
|
1908
1962
|
return request('/organizeInfo/members', true, 'post', data)
|
|
1909
1963
|
},
|
|
1964
|
+
organizeNoticeList: data => {
|
|
1965
|
+
return request('/organizeNotice/list', true, 'post', data)
|
|
1966
|
+
},
|
|
1967
|
+
organizeNoticeDetail: data => {
|
|
1968
|
+
return request('/organizeNotice/detail', true, 'get', data)
|
|
1969
|
+
},
|
|
1970
|
+
organizeNoticeSave: data => {
|
|
1971
|
+
return request('/organizeNotice/save', true, 'post', data)
|
|
1972
|
+
},
|
|
1973
|
+
organizeNoticeDelete: data => {
|
|
1974
|
+
return request('/organizeNotice/del', true, 'post', data)
|
|
1975
|
+
},
|
|
1976
|
+
organizePanUpload: data => {
|
|
1977
|
+
return request('/organizePan/upload', true, 'post', data)
|
|
1978
|
+
},
|
|
1979
|
+
organizePanDownload: data => {
|
|
1980
|
+
return request('/organizePan/download', true, 'get', data)
|
|
1981
|
+
},
|
|
1982
|
+
organizePanFiles: data => {
|
|
1983
|
+
return request('/organizePan/files', true, 'post', data)
|
|
1984
|
+
},
|
|
1985
|
+
organizePanModify: data => {
|
|
1986
|
+
return request('/organizePan/modify', true, 'post', data)
|
|
1987
|
+
},
|
|
1988
|
+
organizePanDelete: data => {
|
|
1989
|
+
return request('/organizePan/del', true, 'post', data)
|
|
1990
|
+
},
|
|
1910
1991
|
newsExtFieldList: (token, organizeId, newsId) => {
|
|
1911
1992
|
return request('/newsExtField/extFields', true, 'get', { token, organizeId, newsId })
|
|
1912
1993
|
},
|
|
@@ -1966,5 +2047,116 @@ module.exports = {
|
|
|
1966
2047
|
},
|
|
1967
2048
|
contactList: () => {
|
|
1968
2049
|
return request('/contact/list', true, 'get')
|
|
1969
|
-
}
|
|
2050
|
+
},
|
|
2051
|
+
distributedLock: (key, seconds) => {
|
|
2052
|
+
return request('/distributedLock/lock', true, 'get', { key, seconds })
|
|
2053
|
+
},
|
|
2054
|
+
distributedLockRelease: (key) => {
|
|
2055
|
+
return request('/distributedLock/lock', true, 'get', { key })
|
|
2056
|
+
},
|
|
2057
|
+
communitySetting: () => {
|
|
2058
|
+
return request('/community/setting', true, 'get')
|
|
2059
|
+
},
|
|
2060
|
+
communityLeaderApply: data => {
|
|
2061
|
+
return request('/communityLeader/apply', true, 'post', data)
|
|
2062
|
+
},
|
|
2063
|
+
communityLeaderApplyInfo: token => {
|
|
2064
|
+
return request('/communityLeader/apply/info', true, 'get', { token })
|
|
2065
|
+
},
|
|
2066
|
+
communityLeaderBuy: token => {
|
|
2067
|
+
return request('/communityLeader/buy', true, 'post', { token })
|
|
2068
|
+
},
|
|
2069
|
+
communityOrderFahuo: data => {
|
|
2070
|
+
return request('/communityOrder/fahuo', true, 'post', data)
|
|
2071
|
+
},
|
|
2072
|
+
listingSet: () => {
|
|
2073
|
+
return request('/listingSet/info', true, 'get')
|
|
2074
|
+
},
|
|
2075
|
+
listingMyListing: (token) => {
|
|
2076
|
+
return request('/listingInfo/myListing', true, 'get', { token })
|
|
2077
|
+
},
|
|
2078
|
+
listingSave: data => {
|
|
2079
|
+
return request('/listingInfo/save', true, 'post', data)
|
|
2080
|
+
},
|
|
2081
|
+
listingDetail: (id) => {
|
|
2082
|
+
return request('/listingInfo/detail', true, 'get', { id })
|
|
2083
|
+
},
|
|
2084
|
+
listingCancel: (token, id) => {
|
|
2085
|
+
return request('/listingInfo/cancel', true, 'post', { token, id })
|
|
2086
|
+
},
|
|
2087
|
+
listingSuccess: (token, id) => {
|
|
2088
|
+
return request('/listingInfo/success', true, 'post', { token, id })
|
|
2089
|
+
},
|
|
2090
|
+
listingDelete: (token, id) => {
|
|
2091
|
+
return request('/listingInfo/delete', true, 'post', { token, id })
|
|
2092
|
+
},
|
|
2093
|
+
listingAddGoods: data => {
|
|
2094
|
+
return request('/listingInfo/addGoods', true, 'post', data)
|
|
2095
|
+
},
|
|
2096
|
+
listingRemoveGoods: data => {
|
|
2097
|
+
return request('/listingInfo/removeGoods', true, 'post', data)
|
|
2098
|
+
},
|
|
2099
|
+
listingJoinList: data => {
|
|
2100
|
+
return request('/listingInfo/joinList', true, 'post', data)
|
|
2101
|
+
},
|
|
2102
|
+
attendantAcceptOrder: data => {
|
|
2103
|
+
return request('/order/acceptOrder', true, 'post', data)
|
|
2104
|
+
},
|
|
2105
|
+
orderCancelOrderPeriod: data => {
|
|
2106
|
+
return request('/order/cancelOrderPeriod', true, 'post', data)
|
|
2107
|
+
},
|
|
2108
|
+
orderStartOrderPeriod: data => {
|
|
2109
|
+
return request('/order/startOrderPeriod', true, 'post', data)
|
|
2110
|
+
},
|
|
2111
|
+
userAttendantOrderRejectOrder: (token, orderId) => {
|
|
2112
|
+
return request('/order/rejectOrder', true, 'post', { token, orderId })
|
|
2113
|
+
},
|
|
2114
|
+
userAttendantOrderServing: (token, orderId) => {
|
|
2115
|
+
return request('/order/serving', true, 'post', { token, orderId })
|
|
2116
|
+
},
|
|
2117
|
+
shansongCourierInfo: data => {
|
|
2118
|
+
return request('/order/shansongCourierInfo', true, 'get', data)
|
|
2119
|
+
},
|
|
2120
|
+
shansongOrderInfo: data => {
|
|
2121
|
+
return request('/order/shansongOrderInfo', true, 'get', data)
|
|
2122
|
+
},
|
|
2123
|
+
userAttendantOrderStatistics: data => {
|
|
2124
|
+
return request('/order/statisticsJishi', true, 'get', data)
|
|
2125
|
+
},
|
|
2126
|
+
keloopOrderLogs: data => {
|
|
2127
|
+
return request('/order/keloop/orderLogs', true, 'get', data)
|
|
2128
|
+
},
|
|
2129
|
+
keloopCourierTag: data => {
|
|
2130
|
+
return request('/order/keloop/courierTag', true, 'get', data)
|
|
2131
|
+
},
|
|
2132
|
+
workingHoursMySubmitLogs: data => {
|
|
2133
|
+
return request('/workingHours/mySubmitLogs', true, 'post', data)
|
|
2134
|
+
},
|
|
2135
|
+
workingHoursSubmit: data => {
|
|
2136
|
+
return request('/workingHours/submit', true, 'post', data)
|
|
2137
|
+
},
|
|
2138
|
+
workingHoursBossReport: data => {
|
|
2139
|
+
return request('/workingHours/bossReport', true, 'post', data)
|
|
2140
|
+
},
|
|
2141
|
+
workingHoursMyProject: data => {
|
|
2142
|
+
return request('/workingHours/myProject', true, 'post', data)
|
|
2143
|
+
},
|
|
2144
|
+
workingHoursProjectInfo: code => {
|
|
2145
|
+
return request('/workingHours/project', true, 'get', { code })
|
|
2146
|
+
},
|
|
2147
|
+
bestpayProCreateOrder: data => {
|
|
2148
|
+
return request('/pay/bestpay/proCreateOrder', true, 'post', data)
|
|
2149
|
+
},
|
|
2150
|
+
bestpayH5: data => {
|
|
2151
|
+
return request('/pay/bestpay/h5', true, 'get', data)
|
|
2152
|
+
},
|
|
2153
|
+
shopIotDevices: data => {
|
|
2154
|
+
return request('/shopIot/devices', true, 'get', data)
|
|
2155
|
+
},
|
|
2156
|
+
shopIotCmds: data => {
|
|
2157
|
+
return request('/shopIot/cmds', true, 'get', data)
|
|
2158
|
+
},
|
|
2159
|
+
shopIotExecute: data => {
|
|
2160
|
+
return request('/shopIot/execute', true, 'post', data)
|
|
2161
|
+
},
|
|
1970
2162
|
}
|