ソースを参照

Merge branch 'yb_pc2.0'

ziwen 2 年 前
コミット
3f8d967753
1 ファイル変更1 行追加1 行削除
  1. 1 1
      controller/pc/pc.go

+ 1 - 1
controller/pc/pc.go

@@ -492,7 +492,7 @@ func WechatLogin(c *gin.Context) {
 	fmt.Println("token:", item.Errmsg)
 	fmt.Println("token:", item.Errcode)
 	if item.Errcode != 0 {
-		response.Fail(err.Error(), c)
+		response.Fail(item.Errmsg, c)
 		return
 	}