This commit is contained in:
邹宗楠
2023-06-13 09:32:30 +08:00
parent 19f3247a57
commit 9f63205cba
3 changed files with 36 additions and 5 deletions

View File

@@ -0,0 +1,27 @@
package controllers
import (
"github.com/astaxie/beego/server/web"
)
type TaoBaoVegetableController struct {
web.Controller
}
// GetCode 淘菜菜获取商户授权code
func (c *TaoBaoVegetableController) GetCode() {
//if c.Ctx.Input.Method() == http.
//body, err := ioutil.ReadAll(c.Ctx.Request.Body)
//globals.SugarLogger.Debug("商户收取code获取:%s",string(body))
//if err != nil {
// return
//}
//
//var codeObj *tao_vegetable.ShopCode
//if err := json.Unmarshal(body,&codeObj);err != nil {
// return
//}
//
//if codeObj.ResponseType
}