修改蜂鸟回调
This commit is contained in:
@@ -13,7 +13,7 @@ type FnController struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 订单状态
|
// 订单状态
|
||||||
func (c *FnController) FnOrderStatus() {
|
func (c *FnController) FnOrder() {
|
||||||
if c.Ctx.Input.Method() == http.MethodPost {
|
if c.Ctx.Input.Method() == http.MethodPost {
|
||||||
fmt.Println("开始回调订单状态==========================")
|
fmt.Println("开始回调订单状态==========================")
|
||||||
msg, callbackResponse := api.FnAPI.GetChainOrderStatusNotify(c.Ctx.Request)
|
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 {
|
if c.Ctx.Input.Method() == http.MethodPost {
|
||||||
fmt.Println("开始回调门店回掉==========================")
|
fmt.Println("开始回调门店回掉==========================")
|
||||||
msg, callbackResponse := api.FnAPI.GetChainstoreStatusNotify(c.Ctx.Request)
|
msg, callbackResponse := api.FnAPI.GetChainstoreStatusNotify(c.Ctx.Request)
|
||||||
|
|||||||
Reference in New Issue
Block a user