apifm-webapi 1.47.0 → 3.44.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 +218 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1260,4 +1260,222 @@ module.exports = {
|
|
|
1260
1260
|
token
|
|
1261
1261
|
})
|
|
1262
1262
|
},
|
|
1263
|
+
// 商家从区管进货
|
|
1264
|
+
jdvopJinhuoGoods: data => {
|
|
1265
|
+
return request('/vop/goods/list', true, 'post', data)
|
|
1266
|
+
},
|
|
1267
|
+
jdvopJinhuoGoodsDetail: (token, skuId) => {
|
|
1268
|
+
return request('/vop/goods/detail', true, 'get', { token, skuId })
|
|
1269
|
+
},
|
|
1270
|
+
// cps
|
|
1271
|
+
cpsJdGoodsCategory: (parentId, grade) => {
|
|
1272
|
+
return request('/cpsJdGoods/category', true, 'get', { parentId, grade })
|
|
1273
|
+
},
|
|
1274
|
+
cpsJdGoodsSearch: data => {
|
|
1275
|
+
return request('/cpsJdGoods/search', true, 'post', data)
|
|
1276
|
+
},
|
|
1277
|
+
cpsJdGoodsDetail: data => {
|
|
1278
|
+
return request('/cpsJdGoods/detail', true, 'get', data)
|
|
1279
|
+
},
|
|
1280
|
+
cpsJdGoodsSetExt: data => {
|
|
1281
|
+
return request('/cpsJdGoods/ext/set', true, 'post', data)
|
|
1282
|
+
},
|
|
1283
|
+
cpsJdGoodsQueryExt: skuId => {
|
|
1284
|
+
return request('/cpsJdGoods/ext/query', true, 'get', { skuId })
|
|
1285
|
+
},
|
|
1286
|
+
cpsJdGoodsShotUrl: (token, skuId) => {
|
|
1287
|
+
return request('/cpsJdGoods/shotUrl', true, 'get', { token, skuId })
|
|
1288
|
+
},
|
|
1289
|
+
cpsJdGoodsShotUrlSite: (token, materialUrl, couponUrl) => {
|
|
1290
|
+
return request('/cpsJdGoods/shotUrl/site', true, 'post', { token, materialUrl, couponUrl })
|
|
1291
|
+
},
|
|
1292
|
+
cpsJdOrders: data => {
|
|
1293
|
+
return request('/cpsJdOrder/list', true, 'post', data)
|
|
1294
|
+
},
|
|
1295
|
+
cpsJdOrderDetail: (token, id) => {
|
|
1296
|
+
return request('/cpsJdOrder/detail', true, 'get', { token, id })
|
|
1297
|
+
},
|
|
1298
|
+
cpsPddBeian: token => {
|
|
1299
|
+
return request('/cpsPddGoods/beian', true, 'get', { token })
|
|
1300
|
+
},
|
|
1301
|
+
cpsPddGoodsDetail: data => {
|
|
1302
|
+
return request('/cpsPddGoods/detail', true, 'get', data)
|
|
1303
|
+
},
|
|
1304
|
+
cpsPddGoodsShotUrl: (token, goodsSign) => {
|
|
1305
|
+
return request('/cpsPddGoods/shotUrl', true, 'get', { token, goodsSign })
|
|
1306
|
+
},
|
|
1307
|
+
cpsPddOrders: data => {
|
|
1308
|
+
return request('/cpsPddOrder/list', true, 'post', data)
|
|
1309
|
+
},
|
|
1310
|
+
cpsPddOrderDetail: (token, id) => {
|
|
1311
|
+
return request('/cpsPddOrder/detail', true, 'get', { token, id })
|
|
1312
|
+
},
|
|
1313
|
+
cpsTaobaoGoodsDetail: data => {
|
|
1314
|
+
return request('/cpsTaobaoGoods/detail', true, 'get', data)
|
|
1315
|
+
},
|
|
1316
|
+
cpsTaobaoGoodsShotUrl: (token, content) => {
|
|
1317
|
+
return request('/cpsTaobaoGoods/shotUrl', true, 'post', { token, content })
|
|
1318
|
+
},
|
|
1319
|
+
cpsTaobaoGoodsKouling: (token, content) => {
|
|
1320
|
+
return request('/cpsTaobaoGoods/kouling', true, 'post', { token, content })
|
|
1321
|
+
},
|
|
1322
|
+
// 回收
|
|
1323
|
+
recycleOrders: data => {
|
|
1324
|
+
return request('/recycleOrder/list', true, 'post', data)
|
|
1325
|
+
},
|
|
1326
|
+
recycleOrderApply: data => {
|
|
1327
|
+
return request('/recycleOrder/apply', true, 'post', data)
|
|
1328
|
+
},
|
|
1329
|
+
recycleOrderDetail: (token, id) => {
|
|
1330
|
+
return request('/recycleOrder/detail', true, 'get', { token, id })
|
|
1331
|
+
},
|
|
1332
|
+
recycleOrderFahuo: data => {
|
|
1333
|
+
return request('/recycleOrder/fahuo', true, 'post', data)
|
|
1334
|
+
},
|
|
1335
|
+
recycleOrderClose: (token, id) => {
|
|
1336
|
+
return request('/recycleOrder/close', true, 'post', { token, id })
|
|
1337
|
+
},
|
|
1338
|
+
recycleOrderDelete: (token, id) => {
|
|
1339
|
+
return request('/recycleOrder/del', true, 'post', { token, id })
|
|
1340
|
+
},
|
|
1341
|
+
// 会员卡
|
|
1342
|
+
cardList: data => {
|
|
1343
|
+
return request('/card/list', true, 'post', data)
|
|
1344
|
+
},
|
|
1345
|
+
cardInfo: id => {
|
|
1346
|
+
return request('/card/info', true, 'get', { id })
|
|
1347
|
+
},
|
|
1348
|
+
cardBuy: (token, id) => {
|
|
1349
|
+
return request('/card/buy', true, 'post', { token, id })
|
|
1350
|
+
},
|
|
1351
|
+
cardMyList: token => {
|
|
1352
|
+
return request('/card/my', true, 'get', { token })
|
|
1353
|
+
},
|
|
1354
|
+
cardMyLogs: data => {
|
|
1355
|
+
return request('/card/logs', true, 'post', data)
|
|
1356
|
+
},
|
|
1357
|
+
// 收藏卡片
|
|
1358
|
+
collectCardHis: data => {
|
|
1359
|
+
return request('/collectCard/del', true, 'post', data)
|
|
1360
|
+
},
|
|
1361
|
+
collectCardInfo: (number) => {
|
|
1362
|
+
return request('/collectCard/cardInfo', true, 'get', { number })
|
|
1363
|
+
},
|
|
1364
|
+
collectCardHisInfo: (token, id) => {
|
|
1365
|
+
return request('/collectCard/hisInfo', true, 'get', { token, id })
|
|
1366
|
+
},
|
|
1367
|
+
collectCardBind: data => {
|
|
1368
|
+
return request('/collectCard/bind', true, 'post', data)
|
|
1369
|
+
},
|
|
1370
|
+
collectCardUnBind: (token, id, smsCode) => {
|
|
1371
|
+
return request('/collectCard/bind', true, 'post', { token, id, smsCode })
|
|
1372
|
+
},
|
|
1373
|
+
// 其他
|
|
1374
|
+
bengenSaleTongjiList: data => {
|
|
1375
|
+
return request('/bengenSaleTongji/list', true, 'post', data)
|
|
1376
|
+
},
|
|
1377
|
+
bengenSaleTongjiRank: data => {
|
|
1378
|
+
return request('/bengenSaleTongji/rank', true, 'get', data)
|
|
1379
|
+
},
|
|
1380
|
+
// 购买课程
|
|
1381
|
+
courseInfoList: data => {
|
|
1382
|
+
return request('/courseInfo/list', true, 'post', data)
|
|
1383
|
+
},
|
|
1384
|
+
courseInfo: id => {
|
|
1385
|
+
return request('/courseInfo/info', true, 'get', { id })
|
|
1386
|
+
},
|
|
1387
|
+
courseBuyLogPublic: data => {
|
|
1388
|
+
return request('/courseBuyLog/public', true, 'post', data)
|
|
1389
|
+
},
|
|
1390
|
+
courseBuyLogMy: data => {
|
|
1391
|
+
return request('/courseBuyLog/my', true, 'post', data)
|
|
1392
|
+
},
|
|
1393
|
+
courseInfoBuy: data => {
|
|
1394
|
+
return request('/courseBuyLog/buy', true, 'post', data)
|
|
1395
|
+
},
|
|
1396
|
+
courseInfoBuyLogPay: (token, orderId) => {
|
|
1397
|
+
return request('/courseBuyLog/pay', true, 'post', { token, orderId })
|
|
1398
|
+
},
|
|
1399
|
+
courseInfoBuyLogDetail: (token, id, hxNumber = '') => {
|
|
1400
|
+
return request('/courseBuyLog/detail', true, 'get', { token, id, hxNumber })
|
|
1401
|
+
},
|
|
1402
|
+
courseInfoBuyLogClose: (token, orderId) => {
|
|
1403
|
+
return request('/courseBuyLog/close', true, 'post', { token, orderId })
|
|
1404
|
+
},
|
|
1405
|
+
courseInfoBuyLogDelete: (token, orderId) => {
|
|
1406
|
+
return request('/courseBuyLog/del', true, 'post', { token, orderId })
|
|
1407
|
+
},
|
|
1408
|
+
// 橱窗
|
|
1409
|
+
chuchuanSettingInfo: uid => {
|
|
1410
|
+
return request('/chuchuan/info', true, 'get', { uid })
|
|
1411
|
+
},
|
|
1412
|
+
chuchuanSettingModify: data => {
|
|
1413
|
+
return request('/chuchuan/modify', true, 'post', data)
|
|
1414
|
+
},
|
|
1415
|
+
chuchuanGoodsList: data => {
|
|
1416
|
+
return request('/chuchuanGoods/list', true, 'post', data)
|
|
1417
|
+
},
|
|
1418
|
+
chuchuanGoodsAdd: data => {
|
|
1419
|
+
return request('/chuchuanGoods/add', true, 'post', data)
|
|
1420
|
+
},
|
|
1421
|
+
chuchuanGoodsRemove: (token, goodsId) => {
|
|
1422
|
+
return request('/chuchuanGoods/remove', true, 'post', { token, goodsId })
|
|
1423
|
+
},
|
|
1424
|
+
chuchuanGoodsCheck: (token, goodsId) => {
|
|
1425
|
+
return request('/chuchuanGoods/check', true, 'get', { token, goodsId })
|
|
1426
|
+
},
|
|
1427
|
+
// 寄存
|
|
1428
|
+
jicunGoodsList: data => {
|
|
1429
|
+
return request('/jicunGoods/list', true, 'post', data)
|
|
1430
|
+
},
|
|
1431
|
+
jicunGoodsDetail: data => {
|
|
1432
|
+
return request('/jicunGoods/detail', true, 'get', data)
|
|
1433
|
+
},
|
|
1434
|
+
// ocr
|
|
1435
|
+
ocrBusinessLicense: imageUrl => {
|
|
1436
|
+
return request('/ocr/businessLicense', true, 'post', { imageUrl })
|
|
1437
|
+
},
|
|
1438
|
+
ocrIdcard: imageUrl => {
|
|
1439
|
+
return request('/ocr/idcard', true, 'post', { imageUrl })
|
|
1440
|
+
},
|
|
1441
|
+
ocrBankcard: imageUrl => {
|
|
1442
|
+
return request('/ocr/bankcard', true, 'post', { imageUrl })
|
|
1443
|
+
},
|
|
1444
|
+
ocrDriverLicense: imageUrl => {
|
|
1445
|
+
return request('/ocr/driverLicense', true, 'post', { imageUrl })
|
|
1446
|
+
},
|
|
1447
|
+
// 朋友圈
|
|
1448
|
+
momentsPublish: data => {
|
|
1449
|
+
return request('/user/moments/publish', true, 'post', data)
|
|
1450
|
+
},
|
|
1451
|
+
momentsList: data => {
|
|
1452
|
+
return request('/user/moments/list', true, 'get', data)
|
|
1453
|
+
},
|
|
1454
|
+
momentsDetail: (token, momentsId) => {
|
|
1455
|
+
return request('/user/moments/detail', true, 'get', { token, momentsId })
|
|
1456
|
+
},
|
|
1457
|
+
momentsDelete: (token, momentsId) => {
|
|
1458
|
+
return request('/user/moments/del', true, 'post', { token, momentsId })
|
|
1459
|
+
},
|
|
1460
|
+
momentsDeleteComment: (token, commentId) => {
|
|
1461
|
+
return request('/user/moments/delCommon', true, 'post', { token, commentId })
|
|
1462
|
+
},
|
|
1463
|
+
momentsLike: (token, momentsId) => {
|
|
1464
|
+
return request('/user/moments/like', true, 'post', { token, momentsId })
|
|
1465
|
+
},
|
|
1466
|
+
momentsComment: (token, momentsId, uid = '', content) => {
|
|
1467
|
+
return request('/user/moments/comment', true, 'post', { token, momentsId, uid, content })
|
|
1468
|
+
},
|
|
1469
|
+
momentsCommentLogs: data => {
|
|
1470
|
+
return request('/user/moments/logs', true, 'get', data)
|
|
1471
|
+
},
|
|
1472
|
+
momentsLogsRead: (token, logsIds) => {
|
|
1473
|
+
return request('/user/moments/logRead', true, 'post', { token, logsIds })
|
|
1474
|
+
},
|
|
1475
|
+
bottleMsgPublish: data => {
|
|
1476
|
+
return request('/bottleMsg/publish', true, 'post', data)
|
|
1477
|
+
},
|
|
1478
|
+
bottleMsgSalvage: token => {
|
|
1479
|
+
return request('/bottleMsg/salvage', true, 'get', { token })
|
|
1480
|
+
},
|
|
1263
1481
|
}
|