This commit is contained in:
邹宗楠
2023-12-03 11:33:34 +08:00
parent 472dc08685
commit 9dae9f86b8

View File

@@ -145,6 +145,7 @@ func (c *DjswController) SinglePromoteCreate() {
func (c *DjswController) StoreCrud() {
if c.Ctx.Input.Method() == http.MethodPost {
callbackResponse := c.handleMsg(func(a *jdapi.API, obj interface{}) (callbackResponse *jdapi.CallbackResponse) {
globals.SugarLogger.Debugf("==============StoreCrud := %s", utils.Format4Output(obj, false))
callbackResponse = jd.OnStoreMsg(obj.(*jdapi.CallbackOrderMsg))
return callbackResponse
})