Explorar el Código

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

release_toaliyun_real
Stormeye Wu hace 6 años
padre
commit
95985fc685
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. +4
    -2
      mallinkPosApi/src/main/java/com/iformall/controller/PosController.java

+ 4
- 2
mallinkPosApi/src/main/java/com/iformall/controller/PosController.java Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar