瀏覽代碼

路由测试

xingzai 2 年之前
父節點
當前提交
c45bd2bd59
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      controllers/wechat.go

+ 2 - 0
controllers/wechat.go

@@ -300,6 +300,8 @@ func (this *WechatCommonController) Test() {
 		this.Data["json"] = br
 		this.ServeJSON()
 	}()
+
+	//测试路由
 	token := this.GetString("Token")
 	if token == "" {
 		br.Msg = "参数错误"