funcode.go 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package global
  2. var (
  3. ModifyPwdReq = 65543 // 修改账户密码请求
  4. ModifyPwdRsp = 65544 // 修改账户密码应答
  5. UserReceiveInfoReq = 1900545 // 新增修改收货地址请求
  6. UserReceiveInfoRsp = 1900546 // 新增修改收货地址请求响应
  7. DelUserReceiveInfoReq = 1900547 // 删除收货地址请求
  8. DelUserReceiveInfoRsp = 1900548 // 删除收货地址请求响应
  9. UserReceiveIsDefaultReq = 1900570 // 设置默认收货地址请求
  10. UserReceiveIsDefaultRsp = 1900571 // 设置默认收货地址应答
  11. UserReceiptInfoReq = 1900549 // 新增修改用户发票信息请求
  12. UserReceiptInfoRsp = 1900550 // 新增修改用户发票信息请求响应
  13. DelUserReceiptInfoReq = 1900551 // 删除用户发票信息请求
  14. DelUserReceiptInfoRsp = 1900552 // 删除用户发票信息请求响应
  15. T2bBankSignReq = 589825 // 签约请求
  16. T2bBankSignRsp = 589826 // 签约应答
  17. T2bBankCancelSignReq = 589827 // 解约请求
  18. T2bBankCancelSignRsp = 589828 // 解约应答
  19. T2bBankWithdrawReq = 589837 // 出金请求
  20. T2bBankWithdrawRsp = 589838 // 出金应答
  21. T2bBankDepositReq = 589843 // 入金请求
  22. T2bBankDepositRsp = 589844 // 入金应答
  23. WarehouseApplyReq = 1900685 // 仓库申请请求
  24. WarehouseApplyRsp = 1900686 // 仓库申请应答
  25. PerformanceContractedApplyReq = 1310729 // 违约申请请求
  26. PerformanceContractedApplyRsp = 1310730 // 违约申请应答
  27. PerformanceDelayApplyReq = 1310725 // 延期申请请求
  28. PerformanceDelayApplyRsp = 1310726 // 延期申请应答
  29. PerformanceManualConfirmReq = 1310723 // 履约手动确认请求
  30. PerformanceManualConfirmRsp = 1310724 // 履约手动确认应答
  31. PerformanceModifyContactReq = 1310735 // 履约修改联络信息请求
  32. PerformanceModifyContactRsp = 1310736 // 履约修改联络信息回应
  33. GoodsFavoriteOperateReq = 1441843 // 商品收藏操作接口请求
  34. GoodsFavoriteOperateRsp = 1441844 // 商品收藏操作接口应答
  35. ZSBuyOrderListingReq = 1441837 // 钻石买挂牌接口请求
  36. ZSBuyOrderListingRsp = 1441838 // 钻石买挂牌接口应答
  37. ZSSellOrderListingReq = 1441829 // 钻石卖挂牌接口请求
  38. ZSSellOrderListingRsp = 1441830 // 钻石卖挂牌接口响应
  39. ZSBuyOrderDestingReq = 1441831 // 钻石买摘牌接口请求
  40. ZSBuyOrderDestingRsp = 1441832 // 钻石买摘牌接口响应
  41. ZSSellOrderDestingApplyReq = 1441839 // 钻石卖摘牌申请接口请求
  42. ZSSellOrderDestingApplyRsp = 1441840 // 钻石卖摘牌申请接口响应
  43. ZSSellOrderDestingApplyOperateReq = 1441841 // 钻石卖摘牌申请操作接口请求
  44. ZSSellOrderDestingApplyOperateRsp = 1441842 // 钻石卖摘牌申请操作接口应答
  45. ZSBuyOrderDestingNegPriceReq = 1441833 // 买摘牌询价接口请求
  46. ZSBuyOrderDestingNegPriceRsp = 1441834 // 买摘牌询价接口应答
  47. ZSBuyOrderDestingNegPriceOperateReq = 1441835 // 买摘牌询价操作接口请求
  48. ZSBuyOrderDestingNegPriceOperateRsp = 1441836 // 买摘牌询价操作接口应答
  49. WRListingCancelOrderReq = 1441796 // 挂牌撤单请求
  50. WRListingCancelOrderRsp = 1441797 // 挂牌撤单应答
  51. ReceiptZSOutApplyReq = 1376463 // 钻石出库申请接口请求
  52. ReceiptZSOutApplyRsp = 1376464 // 钻石出库申请接口响应
  53. SpotPresaleListingOrderReq = 1441847 // 铁合金现货预售挂牌接口请求(1441847)
  54. SpotPresaleListingOrderRsp = 1441848 // 铁合金现货预售挂牌接口应答(1441848)
  55. THJPurchaseTradeNtf = 1441865 // 铁合金成交通知
  56. )
  57. // 通过请求功能码获取对应主题的方法
  58. func GetTopic(funcode int) string {
  59. for k, v := range M2A_FuncodeTopic {
  60. for _, f := range v {
  61. if f == funcode {
  62. return k
  63. }
  64. }
  65. }
  66. return ""
  67. }