golang 的 rabbitmq 消费项目
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.
 
 
 

17 lines
771 B

  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. }