Ver código fonte

update

master
dengbiao 4 meses atrás
pai
commit
b8de9d8878
2 arquivos alterados com 8 adições e 4 exclusões
  1. +4
    -0
      README.md
  2. +4
    -4
      app/hdl/hdl_wx_open.go

+ 4
- 0
README.md Ver arquivo

@@ -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 Ver arquivo

@@ -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) {


Carregando…
Cancelar
Salvar