1
This commit is contained in:
27
controllers/taobao_vegetable.go
Normal file
27
controllers/taobao_vegetable.go
Normal 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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user