소스 검색

路由测试

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 = "参数错误"