修改蜂鸟回调

This commit is contained in:
邹宗楠
2022-03-31 11:26:29 +08:00
parent 9b0a2d08b6
commit e636b25596

View File

@@ -13,7 +13,7 @@ type FnController struct {
}
// 订单状态
func (c *FnController) FnOrderStatus() {
func (c *FnController) FnOrder() {
if c.Ctx.Input.Method() == http.MethodPost {
fmt.Println("开始回调订单状态==========================")
msg, callbackResponse := api.FnAPI.GetChainOrderStatusNotify(c.Ctx.Request)
@@ -56,7 +56,7 @@ func (c *FnController) FnAbnormal() {
}
// 门店回掉
func (c *FnController) FnStoreStatus() {
func (c *FnController) FnStore() {
if c.Ctx.Input.Method() == http.MethodPost {
fmt.Println("开始回调门店回掉==========================")
msg, callbackResponse := api.FnAPI.GetChainstoreStatusNotify(c.Ctx.Request)