瀏覽代碼

[POS][修改]:添加打印

release_toaliyun_real
Stormeye Wu 6 年之前
父節點
當前提交
95985fc685
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      mallinkPosApi/src/main/java/com/iformall/controller/PosController.java

+ 4
- 2
mallinkPosApi/src/main/java/com/iformall/controller/PosController.java 查看文件

@@ -323,9 +323,11 @@ public class PosController extends BaseController {
try {
retObj = posService.posOrderSync(params);
} catch (MallinkException e) {
return buildReturnMap(retObj, resKey, WxPayConstant.RET_SUCCESS, "", e.getErrorCode(), e.getMessage());
logger.error(e.getMessage());
return buildReturnMap(retObj, resKey, WxPayConstant.RET_FAIL, "", e.getErrorCode(), e.getMessage());
} catch (Exception e) {
return buildReturnMap(retObj, resKey, WxPayConstant.RET_SUCCESS, "", 500, e.getMessage());
logger.error(e.getMessage());
return buildReturnMap(retObj, resKey, WxPayConstant.RET_FAIL, "", 500, e.getMessage());
}

return buildReturnMap(retObj, resKey, WxPayConstant.RET_SUCCESS, "",null);


Loading…
取消
儲存