zjxpcyc 6 years ago
parent
commit
1d12dd6417
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      controllers/luckdraw/luckdraw.go

+ 1
- 1
controllers/luckdraw/luckdraw.go View File

@@ -192,7 +192,7 @@ func (c *LuckDrawController) LuckDraw() {
192 192
 
193 193
 	user := userRaw.(model.TaCustomer)
194 194
 
195
-	c.Context.Set("clienturl", c.Configer[controllers.AppConf].String("luckdrawNoticeURL"))
195
+	c.Context.Set("clienturl", c.Configer[controllers.WeChatConf].String("luckdrawNoticeURL"))
196 196
 	c.Context.Set("tplid", c.Configer[controllers.WeChatConf].String("luckdrawMessageTplID"))
197 197
 
198 198
 	prize, detail, err := c.serv.LuckDraw(id, &user)