This commit is contained in:
邹宗楠
2024-04-30 13:43:23 +08:00
parent 46fe089e36
commit 9d721e61a5
2 changed files with 5 additions and 3 deletions

View File

@@ -145,9 +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("==========DjswController StoreCrud: %s", utils.Format4Output(obj, false))
callbackResponse = jd.OnStoreMsg(obj.(*jdapi.CallbackOrderMsg))
globals.SugarLogger.Debugf("==========c.data : %s", utils.Format4Output(c.transferResponse("StoreCrud", callbackResponse), false))
return callbackResponse
})
callbackResponse = jdapi.Err2CallbackResponse(nil, "")