Browse Source

update

master
dengbiao 4 months ago
parent
commit
b8de9d8878
2 changed files with 8 additions and 4 deletions
  1. +4
    -0
      README.md
  2. +4
    -4
      app/hdl/hdl_wx_open.go

+ 4
- 0
README.md View File

@@ -45,7 +45,11 @@

> swagger 命令行工具
go get -u github.com/swaggo/swag/cmd/swag

//go版本1.16之前使用该命令
go install github.com/swaggo/swag/cmd/swag
//go版本1.16版本以及之后的版本使用该命令
go install github.com/swaggo/swag/cmd/swag@latest

> swagger 依赖
go get "github.com/swaggo/files"


+ 4
- 4
app/hdl/hdl_wx_open.go View File

@@ -8,10 +8,10 @@ import (
)

type ReqWxMessage struct {
AppId string `json:"AppId"`
FromUserName string `json:"CreateTime"`
InfoType string `json:"InfoType"`
ComponentVerifyTicket string `json:"ComponentVerifyTicket"` // text | image | voice | shortvideo | location
AppID string `xml:"AppId"`
CreateTime int64 `xml:"CreateTime"`
InfoType string `xml:"InfoType"`
ComponentVerifyTicket string `xml:"ComponentVerifyTicket"`
}

func SetTicket(c *gin.Context) {


Loading…
Cancel
Save