1
This commit is contained in:
@@ -28,7 +28,6 @@ func (c *Djsw2Controller) handleMsg(handler func(*jdapi.API, interface{}) *jdapi
|
||||
func (c *Djsw2Controller) orderStatus() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
callbackResponse := c.handleMsg(func(a *jdapi.API, obj interface{}) (callbackResponse *jdapi.CallbackResponse) {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", utils.Format4Output(obj, false))
|
||||
if orderMsg, ok := obj.(*jdapi.CallbackOrderMsg); ok {
|
||||
orderman.FixedOrderManager.OnNewFakeJdOrder(orderMsg.BillID)
|
||||
}
|
||||
@@ -42,7 +41,6 @@ func (c *Djsw2Controller) orderStatus() {
|
||||
}
|
||||
|
||||
func (c *Djsw2Controller) NewOrder() {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", "NewOrder")
|
||||
c.orderStatus()
|
||||
}
|
||||
|
||||
@@ -51,22 +49,18 @@ func (c *Djsw2Controller) OrderAdjust() {
|
||||
}
|
||||
|
||||
func (c *Djsw2Controller) OrderWaitOutStore() {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", "OrderWaitOutStore")
|
||||
c.nullOperation()
|
||||
}
|
||||
|
||||
func (c *Djsw2Controller) PickFinishOrder() {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", "PickFinishOrder")
|
||||
c.nullOperation()
|
||||
}
|
||||
|
||||
func (c *Djsw2Controller) DeliveryOrder() {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", "DeliveryOrder")
|
||||
c.nullOperation()
|
||||
}
|
||||
|
||||
func (c *Djsw2Controller) FinishOrder() {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", "FinishOrder")
|
||||
c.nullOperation()
|
||||
}
|
||||
|
||||
@@ -79,7 +73,6 @@ func (c *Djsw2Controller) UnlockOrder() {
|
||||
}
|
||||
|
||||
func (c *Djsw2Controller) UserCancelOrder() {
|
||||
globals.SugarLogger.Debugf("========jds2 := %s", "UserCancelOrder")
|
||||
c.nullOperation()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user