api.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. const api_http = "api";
  2. //const api_http = 'http://127.0.0.1:8002/api';
  3. const get_api = {
  4. sysInit: api_http + '/index/sysInit', //基本配置
  5. qiniu: api_http + "/pub/qiniu", //七牛
  6. indexInit: api_http + "/index/index", //获取首页信息
  7. indexGuLx: api_http + '/index/guLx', //馆长联系方式
  8. merchants: api_http + '/index/merchants', //首页加盟店
  9. merchantItem: api_http + "/index/merchantItem", //加盟商详情
  10. tradeweb: api_http + "/index/tradeweb", //文票系统
  11. merchantList: api_http + '/merchants/list', //首页加盟店
  12. guInit: api_http + '/index/guInit', //馆长列表信息
  13. newsList: api_http + '/index/newsList', //新闻分类
  14. getContent: api_http + '/index/getContent', //获取详情数据
  15. indexGu: api_http + '/index/indexGu', //首页馆
  16. getYzm: api_http + '/login/getYzm', //获取验证码
  17. register: api_http + '/login/register', //提交数据
  18. userLogin: api_http + '/login/index', //会员登录
  19. findYzm: api_http + '/login/findYzm', //验证码
  20. findPassword: api_http + '/login/findPass', //找回密码
  21. goodsList: api_http + '/goods/list', //产品列表
  22. goodsItem: api_http + '/goods/item', //产品详情
  23. getBalance: api_http + '/goods/getBalance', //整理订单提交数据
  24. addOrder: api_http + '/goods/addOrder', //下单状态
  25. auctionSubscribe: api_http + '/auction/subscribe', //预约订单
  26. auctionItem: api_http + '/auction/item', //获取当前馆情况
  27. auctionPro: api_http + '/auction/pro', //抢单列表
  28. auctionProItem: api_http + '/auction/proItem', //抢单详情
  29. auctionProItemHistory: api_http + '/auction/proItemHistory', //抢单历史追溯
  30. auctionProRush: api_http + '/auction/proRush', //抢单操作
  31. auctionOrder: api_http + '/auction/order', //订单信息
  32. auctionOrderInit: api_http + '/auction/orderInit', //订单init
  33. auctionOrderItem: api_http + '/auction/orderItem', //订单详情
  34. auctionOrderDetail: api_http + '/auction/orderItemDetail', //订单明细
  35. auctionOrderSubProof: api_http + '/auction/subProof', //上传凭证
  36. auctionOrderSellerInit: api_http + '/auction/sellerInit', //我要售出初始化
  37. auctionOrderSeller: api_http + '/auction/seller', //我要售出
  38. auctionAdopt: api_http + '/auction/adopt', //【审核通过】
  39. auctionPlead: api_http + "/auction/plead", //订单申诉
  40. auctionRevoke: api_http + '/auction/revoke', //取消申诉
  41. auctionHangingSale: api_http + '/auction/hangingSale', //挂售详情
  42. auctionHangingSaleSub: api_http + '/auction/hangingSaleSub', //挂售
  43. auctionMyPro: api_http + '/auction/myPro', //我的产品
  44. gzInit: api_http + '/gz/init', //馆tapSs长基本数据
  45. gzBooking: api_http + '/gz/booking', //预约记录
  46. gzAuction: api_http + '/gz/auction', //获取馆长场次
  47. gzOrder: api_http + '/gz/order', //馆长底下订单
  48. auctionOrderRecycle: api_http + '/gz/orderRecycle', //馆长回收订单
  49. auctionOrderSlim: api_http + '/gz/orderSlim', //瘦身订单
  50. auctionOrderCf: api_http + '/gz/orderCf', //订单拆分
  51. gzUserInit: api_http + '/gz/userInit', //馆长用户UID
  52. gzUserList: api_http + '/gz/userList', //馆长用户列表
  53. auctionSlimLog: api_http + '/gz/slimLog', //瘦身订单记录
  54. slimInit: api_http + '/gz/slimInit', //瘦身配置信息
  55. auctionrecycleLog: api_http + '/gz/recycleLog', //瘦身订单记录
  56. auctionDisassembleInit: api_http + '/gz/disassembleInit', //拆分init
  57. auctionDisassembleLog: api_http + '/gz/disassembleLog', //拆分订单记录
  58. //会员中心
  59. userInit: api_http + '/user/init', //会员基本配置
  60. userInfo: api_http + '/user/userInfo', //用户信息
  61. userYzm: api_http + '/user/getYzm', //修改【验证码】
  62. updatePassword: api_http + '/user/updatePassword', //修改密码
  63. userInfoSave: api_http + '/user/userInfoSave', //会员信息修改
  64. saveAvatar: api_http + '/user/saveAvatar', //保存头像
  65. zxUser: api_http + '/user/zxUser', //申请【注销】
  66. bindYzm: api_http + '/user/bindYzm', //绑定验证码
  67. bindPhone: api_http + '/user/bindPhone', //绑定手机号
  68. getUserGu: api_http + '/user/userGu', //获取自己馆信息
  69. setUserCert: api_http + '/user/setUserCert', //实名认证
  70. userSpreadBanner: api_http + '/user/spreadBanner', //用户海报
  71. userSpreadQrcode: api_http + '/user/spreadQrcode', //生成海报
  72. userPayment: api_http + '/user/payment', //设置二级密码
  73. paymentCkYzm: api_http + '/user/paymentCkYzm', //验证二级密码
  74. userCkPayment: api_http + '/user/ckPayment', //验证密码
  75. userAddress: api_http + '/user/address', //收货地址
  76. userAddressInfo: api_http + '/user/addressInfo', //获取详情
  77. userAddressSave: api_http + '/user/addressSave', //保存修改地址
  78. userAddressDel: api_http + '/user/addressDel', //删除地址
  79. userAddressDeflault: api_http + '/user/addressDefault', //默认地址
  80. userOrder: api_http + '/user/order', //用户订单
  81. userOrderInfo: api_http + '/user/orderInfo', //订单详情
  82. orderConfim: api_http + '/user/orderConfirm', //订单确认
  83. orderLogistics: api_http + '/user/orderLogistics', //物流查询
  84. userDetailTotal: api_http + '/user/detailTotal', //提货积分统计
  85. userDetail: api_http + '/user/detail', //提货积分列表
  86. userIntegralTotal: api_http + '/user/integralTotal', //趣豆统计
  87. userIntegral: api_http + '/user/integral', //趣豆列表
  88. tradeCode: api_http + '/user/tradeCode', //趣豆付款码
  89. userCkUserName: api_http + '/user/ckUserName', //确认用户信息
  90. integralGive: api_http + '/user/integralGive', //趣豆转账
  91. integralTicketInit: api_http + '/user/ticketInit', //文票基本数据
  92. integralTicket: api_http + '/user/integralTicket', //趣豆转账文票
  93. userAnticipate: api_http + '/user/anticipate', //我的易趣卷
  94. userAnticipateTotal: api_http + '/user/anticipateTotal', //易趣卷统计
  95. anticipateGive: api_http + '/user/anticipateGive', //易趣卷转账
  96. userBrokerageTotal: api_http + '/user/brokerageTotal', //我的金豆统计
  97. userBrokerage: api_http + '/user/brokerage', //我的金豆
  98. userBrokerageExchange: api_http + '/user/brokerageExchange', //金豆兑换明细
  99. userSubBrokerage: api_http + '/user/subBrokerage', //提现金豆
  100. userBrokerageTxLog: api_http + '/user/brokerageTxLog', //日志
  101. userTeamTotal: api_http + '/user/teamTotal', //团队统计
  102. userTeam: api_http + '/user/team', //团队列表
  103. sqAwardInit: api_http + '/user/awardInit', //新人奖配置查询
  104. sqAward: api_http + '/user/awardSq', //新人奖申请
  105. userAwardSqLog: api_http + '/user/awardSqLog', //申请日志
  106. bankSave: api_http + '/user/bankSave', //保存银行卡
  107. getBankItem: api_http + '/user/bankItem', //获取银行卡信息
  108. getBank: api_http + '/user/getBank', //获取银行信息
  109. /** 聊天工具 **/
  110. chatList: api_http + '/chat/chatList', //聊天数据
  111. findChat: api_http + '/chat/findChat', //查询会话信息【单人】
  112. chatMsg: api_http + '/chat/chatMsg', //消息详情
  113. chatDel: api_http + '/chat/del', //聊天删除消息
  114. chatRead: api_http + '/chat/chatRead', //阅读数量【H5】
  115. chatUpVoice: api_http + '/chat/upVoice', //上传语音文件
  116. collectAdd: api_http + '/chat/collect', //我要收藏
  117. withdraw: api_http + '/chat/withdraw', //撤回消息
  118. chatListAll: api_http + '/chat/listAll', //群聊 + 好友
  119. chatSearchMsg: api_http + '/chat/searchMsg', //查看聊天记录
  120. //收藏
  121. chatCollect: api_http + '/chat/collectList', //查看收藏
  122. chatCollectDel: api_http + '/chat/collectDel', //删除收藏
  123. chatCollectSend: api_http + '/chat/collectSend', //转发收藏
  124. forwarding: api_http + '/chat/forwarding', //转发消息
  125. clearChat: api_http + '/chat/clearChat', //清理聊天
  126. chatBagenum: api_http + '/chat/bagenum', //消息数量
  127. chatFindCode: api_http + '/friend/findCode', //查询会员获取code
  128. chatFriendFind: api_http + '/friend/find', //获取会员信息
  129. FriendIndex: api_http + "/friend/index", //好友列表
  130. chatFriendAdd: api_http + '/friend/add', //添加好友
  131. FriendVerification: api_http + '/friend/verification', //添加会员验证
  132. FriendApplyList: api_http + "/friend/verificationList", //查询申请列表
  133. verificationInfo: api_http + '/friend/verificationInfo', //查询验证数据
  134. FriendVerificationSub: api_http + '/friend/verificationSub', //验证数据提交
  135. FriendApplyAction: api_http + '/friend/applyaction', //【删除|忽略】验证信息
  136. FriendSetRemark: api_http + '/friend/setRemark', //设置备注信息
  137. setBlack: api_http + '/friend/setBlack', //加入黑名单
  138. FriendDel: api_http + '/friend/del', //删除好友
  139. GroupCreate: api_http + "/chatGroup/create", //城建群聊
  140. GroupList: api_http + '/chatGroup/getList', //我的群聊列表
  141. chatGroupInit: api_http + '/chatGroup/init', //基本配置
  142. chatChatFindGroup: api_http + '/chatGroup/findChat', //查询群聊信息
  143. chatGroupAvatar: api_http + '/chatGroup/upAvatar', //更换头像
  144. chatGroupEditName: api_http + '/chatGroup/editName', //修改群聊名称
  145. chatGroupEditRemark: api_http + '/chatGroup/editRemark', //修改群聊昵称
  146. chatGroupQrcode: api_http + '/chatGroup/qrcode', //查看群聊二维码
  147. chatGroupEditMsg: api_http + '/chatGroup/editMsg', //修改群公告
  148. GroupDissolve: api_http + '/chatGroup/dissolve', //解散群聊
  149. chatGroupUser: api_http + '/chatGroup/user', //获取成员列表
  150. chatGroupUserAll: api_http + '/chatGroup/userAll', //获取全部成语
  151. GroupAdd: api_http + '/chatGroup/add', //创建群聊 groupId 原来群聊ID usercodes 加入会员逗号隔开
  152. GroupJdd: api_http + '/chatGroup/jdd', //移除好友
  153. GroupRemind: api_http + '/chatGroup/remind', //@提醒功能
  154. GroupRemindOk: api_http + '/chatGroup/remindOk', //@提醒Ok
  155. GroupTransfer: api_http + '/chatGroup/transfer', //转让群主
  156. chatGroupAdminuser: api_http + '/chatGroup/adminuser', //群里面管理人员
  157. chatGroupAdminAdd: api_http + '/chatGroup/adminAdd', //添加管理员
  158. chatGroupAdminJdd: api_http + '/chatGroup/adminJdd', //移除管理员
  159. chatGroupUserMsg: api_http + '/chatGroup/userMsg', //聊天记录
  160. chatUpdateChat: api_http + "/chat/updateChat", //设置会话(置顶免打扰)
  161. grouptoken: api_http + "/pub/chat_invitation", //查找群信息
  162. chatGroup_add_code: api_http + "/chatGroup/code_add", //查找群信息
  163. }
  164. export default get_api;