golang 的 rabbitmq 消费项目
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. package svc
  2. import (
  3. "github.com/gin-gonic/gin"
  4. )
  5. // JudgeFenXiaoChannel 判断分销渠道
  6. func JudgeFenXiaoChannel(c *gin.Context) (aliCloudChainFenXiaoAccessToken, aliCloudChainFenXiaoAppkey, aliCloudChainFenXiaoAppSecret, aliCloudChainAppkey, aliCloudChainAppSecret, aliCloudChainAccessToken string) {
  7. aliCloudChainFenXiaoAccessToken = SysCfgGet(c, "ali_cloud_chain_fen_xiao_accessToken")
  8. aliCloudChainFenXiaoAppkey = SysCfgGet(c, "ali_cloud_chain_fen_xiao_appkey")
  9. aliCloudChainFenXiaoAppSecret = SysCfgGet(c, "ali_cloud_chain_fen_xiao_appSecret")
  10. aliCloudChainAppkey = SysCfgGet(c, "ali_cloud_chain_appkey")
  11. aliCloudChainAppSecret = SysCfgGet(c, "ali_cloud_chain_appSecret")
  12. aliCloudChainAccessToken = SysCfgGet(c, "ali_cloud_chain_accessToken")
  13. return
  14. }