抖音c端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. const extConfig = tt.getExtConfigSync ? tt.getExtConfigSync().extConfig : {}
  2. let weappId = extConfig.weappId;
  3. console.log(extConfig, "configUrls");
  4. let configUrls = extConfig.attr.configUrl;
  5. var config = {
  6. url: configUrls,
  7. api: {
  8. /**
  9. * 判断小程序是否能有插件
  10. */
  11. getConfig: "/sysConfig/getByKey",
  12. /*
  13. *欢乐城首页专题
  14. */
  15. showList: "/topic/showList",
  16. /*
  17. *记录微信订阅
  18. */
  19. activityDey: "/wxActivity/listStatus", //活动日历日期
  20. activityCalendar: '/wxActivity/list', //活动日历列表
  21. signDey: "/userSign/listStatus", //签到日期列表
  22. continuousDye: "/userSign/signInStatus", //连续签到天数
  23. userSign: "/userSign/signIn", //签到
  24. signRule: "/credit/credit_rules", //签到规则
  25. wxMsg: '/user/updateMsg',
  26. // 获取服务资质
  27. getAppIcp: "/mall/getAppIcp",
  28. /**
  29. * 获取首页按钮
  30. */
  31. wxCustomizeModule: "/wxCustomizeModule/list",
  32. /**
  33. * 抖音消息推送获取模板id
  34. */
  35. templateId: "/wxMsg/ttTemplateList",
  36. //问卷列表
  37. questionnaire: "/wxQuestionOneself/list",
  38. //问卷详情
  39. questionnaireDetail: "/wxQuestionOneself/detailsById",
  40. //提交问卷
  41. submitQuestin: "/wxQuestionOneself/userAdd",
  42. //投诉建议add
  43. suggest: "/wxOpinion/add",
  44. /**
  45. * 接口用途:login
  46. */
  47. login: "/user/login",
  48. /**
  49. * 授权后获取用户的昵称,unionId等信息
  50. */
  51. getUserInfo: "/user/getUserInfo",
  52. //图片上传
  53. imgUpload: '/upload/awsFileUpload',
  54. /**
  55. * 接口用途:授权后获取用户的手机号
  56. */
  57. getUserPhone: "/user/getUserPhone",
  58. /**
  59. * 检查用户授权状态
  60. */
  61. checkUserStatus: "/user/checkUserStatus",
  62. /**
  63. * 检查用户手机授权状态
  64. */
  65. checkPhoneStatus: "/user/checkPhoneStatus",
  66. /**
  67. * 商户优惠信息
  68. */
  69. listByMerchant: "/wxCouponChannel/listByMerchant",
  70. /**
  71. * 获取券价格与库存
  72. */
  73. couponPriceAndStock: "/wxCoupon/couponPriceAndStock",
  74. /**
  75. * 获取券适用门店List
  76. */
  77. couponMerchant: "/wxCoupon/couponMerchant",
  78. /**
  79. * 获取券详情
  80. */
  81. newCouponDetail: '/wxCoupon/couponDetail',
  82. /**
  83. * 优惠券详情
  84. */
  85. couponDetail: "/wxCoupon/detail",
  86. /**
  87. * 购物车订单详情
  88. */
  89. goodsDetail: "/order/goodsDetail",
  90. /**
  91. * 获取直播商品列表的价格和库存
  92. */
  93. batchCouponPriceAndStock: "/wxCoupon/batchCouponPriceAndStock",
  94. /**
  95. * 优惠券图文混排详情
  96. */
  97. couponHtmlDetail: "/wxCoupon/html",
  98. couponHtmlDetailForPkg: "/couponOrder/html",
  99. /**
  100. * 获取样式
  101. */
  102. setType: '/wxMiniappTheme/getOne',
  103. /**
  104. * 业态查询
  105. * filter
  106. * 2 券
  107. * 1 商户
  108. */
  109. businessList: "/wxBusiness/listAll",
  110. /**
  111. * 频道查询
  112. */
  113. couponChannelList: "/wxCouponChannel/list",
  114. /**
  115. * 直播商品列表
  116. */
  117. couponChannelDouyinLiveList: "/wxCouponChannel/douyinLiveList",
  118. /**
  119. * 换一换change
  120. */
  121. change: "/wxCouponChannel/change",
  122. /**
  123. * 下订单
  124. */
  125. orderSave: "/order/save",
  126. /**
  127. * 多少量下单
  128. */
  129. goodsShopCartSave: "/order/goodsShopCartSave",
  130. /**
  131. * 支付订单
  132. */
  133. payOrderCreate: "/pay/create",
  134. /**
  135. * 2.0订单支付
  136. */
  137. payOrderCreate_2: "/pay/ttcreatev2",
  138. /**
  139. * 订单状态更新
  140. */
  141. payOrderUpdate: "/pay/updatePayOrder",
  142. /**
  143. * 订单列表 /order/list
  144. */
  145. orderList: "/order/listGoods_v1",
  146. getWeRunData: '/user/getWeRunData',
  147. /**
  148. * 订单详情
  149. */
  150. orderDetail: "/order/detail_v1",
  151. /**
  152. * 订单退款状态
  153. */
  154. getRefundStatus: "/order/getRefundStatus",
  155. /**
  156. * 查询预约状态
  157. */
  158. getUserReservation: "/wxCouponOrderReservation/getUserReservation",
  159. /**
  160. * 保存/更改预约信息
  161. */
  162. saveOrderReservation: "/wxCouponOrderReservation/saveOrUpdate",
  163. /**
  164. * 查询预约详情
  165. */
  166. getOrderReservationDetail: "/wxCouponOrderReservation/detail",
  167. /**
  168. * 取消预约
  169. */
  170. cancelReservation: "/wxCouponOrderReservation/cancelReservation",
  171. /**
  172. * 获取im客服id
  173. */
  174. getIm: "/mallIm/getIm",
  175. // 券包详情
  176. // orderDetailAll: "/order/detail_v1",
  177. /**
  178. * 券包
  179. */
  180. couponOrderList: "/couponOrder/list",
  181. /**
  182. * 券包详情
  183. */
  184. couponOrderDetail: "/couponOrder/detail", /// TODO
  185. /**
  186. * 验证码发送
  187. */
  188. sendValidationCode: "/wxMsgValidationcode/sendvalidationcode",
  189. /**
  190. * 验证码确认
  191. */
  192. validationCode: "/wxMsgValidationcode/hasvalidationcode",
  193. /**
  194. * 车场信息获取
  195. */
  196. scoreLevelInfo: '/mall/scoreLevelInfo',
  197. getParkInfo: "/wxPark/info",
  198. /**
  199. * 用户所绑车牌获取
  200. */
  201. userCarCount: "/user/carCount",
  202. /**
  203. * 用户所绑车牌获取
  204. */
  205. getUserCarList: "/user/carList",
  206. /**
  207. * 联合登录
  208. */
  209. carInit: "/car/init",
  210. /**
  211. * 绑车牌
  212. */
  213. bindCar: "/car/bindCar",
  214. /**
  215. * 解绑车牌
  216. */
  217. unbindCar: "/car/unbindCar",
  218. /**
  219. * 停车费
  220. */
  221. getCarStopFee: "/car/getCarStopFee",
  222. /**
  223. * 停车费抵扣 (TJD)
  224. */
  225. deductionFee: "/car/deductionFee",
  226. /**
  227. * 优免券领取
  228. */
  229. getCarCoupon: "/car/getCoupon",
  230. /**
  231. * 停车券包
  232. */
  233. couponOrderCarList: "/car/couponOrderList",
  234. /**
  235. * banner
  236. */
  237. bannerlist: "/wxCampaign/list",
  238. /**
  239. * banner详情页面
  240. */
  241. bannerDetail: "/wxCampaign/findById",
  242. /**
  243. * 授权个人信息
  244. * 和授权手机号
  245. * 和login页面
  246. * 页面的图标
  247. */
  248. marketicon: '/mall/getAppIcon',
  249. /**
  250. * 获取停车场状态
  251. */
  252. getParkStatus: '/car/getParkStatus',
  253. /**
  254. * 检查核销的状态
  255. */
  256. getStatus: "/couponOrder/getStatus",
  257. /**
  258. * 获得成长值
  259. */
  260. getScore: '/user/userinfo',
  261. /**
  262. * 小程序分享
  263. * title
  264. * 描述
  265. */
  266. getWeapNote: '/mall/getWeapNote',
  267. /**
  268. * 商场信息(小程序分享)
  269. */
  270. getMallInfo: '/mall/mallInfo',
  271. /**
  272. * 小程序获取游戏路径
  273. */
  274. getGame: '/game/getOne',
  275. /**
  276. * 小程序获取广告路径
  277. */
  278. getGg: '/floatingLayer/getFloatingLayer',
  279. /**
  280. * 小程序某一个游戏信息
  281. */
  282. getOneGame: '/game/getOneGame',
  283. /**
  284. * 用户更新信息
  285. */
  286. updateInfo: "/user/updateUserInfo",
  287. /**
  288. * 查询问卷
  289. */
  290. getQuestion: "/wxQuestion/getQuestion",
  291. /**
  292. * 提交问卷
  293. */
  294. answerQuestion: "/wxQuestion/answerQuestion",
  295. /**
  296. *
  297. 获取打折商户列表
  298. */
  299. discountMerchantList: "/mall/discountMerchantList",
  300. /**
  301. * 卡包分页列表接口
  302. */
  303. cardorderList: "/couponOrder/cardList",
  304. /**
  305. * 卡券详情接口
  306. */
  307. cardDetail: "/couponOrder/cardDetail",
  308. /**
  309. * C端扫B端储值卡支付订单
  310. */
  311. cardPayOrder: "/cardPay/order_create",
  312. /**
  313. * 兑换历史列表
  314. */
  315. scoreHistory: "/scoreHistory/list",
  316. /**
  317. * 获取用户折扣率
  318. */
  319. getDiscountInfo: "/user/getDiscountInfo",
  320. /**
  321. * C端扫B端储值卡交易流水列表接口
  322. */
  323. cardpayList: "/cardPay/list",
  324. /**
  325. * 根据code查询接口
  326. */
  327. findByCode: "/merchant/findByCode",
  328. /**
  329. * 参与砍价
  330. */
  331. pressOrderJoin: "/press/pressOrderJoin",
  332. /**
  333. * 我的砍价列表
  334. */
  335. pressOrderList: "/order/pressOrderList",
  336. /**
  337. * 砍价订单详情
  338. */
  339. pressOrderDetail: "/order/pressOrderDetail",
  340. /**
  341. *
  342. */
  343. getPressOrderStatus: "/press/getPressOrderStatus",
  344. /**
  345. * 查询转赠卡状态
  346. */
  347. queryCardStatus: "/couponOrder/queryCardStatus",
  348. /**
  349. * 领取转赠卡
  350. */
  351. cardAccept: '/couponOrder/cardAccept',
  352. /**
  353. * 获取我的拼团列表
  354. */
  355. getMySepllList: '/orderGroup/queryOrderGroup',
  356. /**
  357. *查询差1个的团购信息
  358. */
  359. queryRemainOne: '/orderGroup/queryRemainOne',
  360. /**
  361. * *分页列表接口
  362. */
  363. merchantList: "/merchant/list",
  364. /*
  365. * 查询拼团状态
  366. */
  367. queryOrderGroupStatus: '/orderGroup/queryOrderGroupStatus',
  368. /**
  369. * 去拼团
  370. */
  371. toOrderGroup: '/orderGroup/toOrderGroup',
  372. /**
  373. * 查询是否已参团
  374. */
  375. queryAttendStatus: '/orderGroup/queryAttendStatus',
  376. /**
  377. * 专题
  378. */
  379. topicShow: "/topic/show",
  380. /**
  381. * 专题详情
  382. */
  383. topicFindById: "/topic/findById",
  384. /**
  385. * 积分券详情
  386. */
  387. integralDetail: '/wxCoupon/findById',
  388. /**
  389. * 会员积分记录
  390. */
  391. integralList: '/credit/list',
  392. /**
  393. * 用户更新位置信息
  394. */
  395. updateLBS: "/user/updateLBS",
  396. /**
  397. * 用户更新信息
  398. */
  399. updateUserInfo: "/user/updateUserInfo",
  400. /**
  401. * 用户更新scene
  402. */
  403. updateScene: "/user/updateScene",
  404. /**
  405. * 富文本详情
  406. */
  407. printHtmlById: "/wxCampaign/printHtmlById",
  408. acfindById: "/wxActivity/findById",
  409. acPrintHtmlById: "/wxActivity/printHtmlById",
  410. //参与活动
  411. activityJoin: "/wxActivityJoin/join",
  412. //签到
  413. activitySign: "/wxActivityJoin/sign",
  414. activityList: "/wxActivityJoin/list",
  415. //获取未支付的订单
  416. getUnPaidOrder: "/order/getUnPaidOrder",
  417. getCouponOrderByPassword: '/couponPassword/getCouponOrderByPassword',
  418. getbuildingfloorlist: '/wxMallBuilding/getbuildingfloorlist',
  419. //商场信息接口
  420. getMallInfo: "/mall/mallInfo",
  421. // 获取楼层楼座数据
  422. getbuildingfloorlist: "/wxMallBuilding/getbuildingfloorlist",
  423. // 获取所有直播间和商品信息
  424. getReplayList: "/live/replayList",
  425. // 获取直播房间回放数据和商品信息
  426. getRoomList: "/live/roomList",
  427. //商城地图
  428. getStoreMap: "/wxMallBuilding/getbuildingfloorlist",
  429. //判断有没有蜂鸟地图
  430. ifFengMap: '/fengniaomap/getConfig',
  431. //分享小程序二维码
  432. getQrcodeFx: "/user/userinfoQrCode",
  433. //添加收货地址
  434. collectSite: "/userBasicInfoAddress/saveOrUpdate",
  435. //收货地址列表
  436. siteList: "/userBasicInfoAddress/list",
  437. //查询收货地址
  438. siteCheck: "/userBasicInfoAddress/findById",
  439. //删除收获地址
  440. siteDel: "/userBasicInfoAddress/del",
  441. //确认收货
  442. verify: "/couponOrder/verify",
  443. //全包下订单
  444. couponPackageSave: "/order/couponPackageSave",
  445. //获取动态核销码
  446. dynamicId: "/couponOrder/dynamicId",
  447. /**
  448. * 获取门店资质
  449. */
  450. certification: "/merchant/findCorp",
  451. /**
  452. * 交易快照
  453. */
  454. getSnapshot: "/order/getSnapshot",
  455. /**
  456. * 退款
  457. */
  458. refund: "/order/refund",
  459. /**
  460. * 查询退款详情
  461. */
  462. getRefund: "/order/getRefund",
  463. /*
  464. *查询Spuid
  465. */
  466. getSpuid: '/wxCouponChannel/getChannelPoi',
  467. /**
  468. * 获取支付订单
  469. */
  470. getchanId: "/couponOrder/getChannelPoi",
  471. /**
  472. * 获取客服链接
  473. */
  474. getServiceUrl: "/ttopen/merchantPoi/query_customer_service_url",
  475. /**
  476. * 取消订单
  477. */
  478. orderCancel: "/order/cancel",
  479. /**
  480. * 判断是否支付
  481. */
  482. continueToPay: "/order/continueToPay",
  483. },
  484. weapp: {
  485. AppId: weappId
  486. },
  487. };
  488. module.exports = config;