Merge remote-tracking branch 'origin/master'

This commit is contained in:
Tankaikai
2025-02-24 14:10:50 +08:00
4 changed files with 17 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ public class CzgControllerAdvice {
public CzgResult<Object> errorHandler(Exception ex) {
setErrorLog(ex);
log.error("", ex);
return CzgResult.failure(CzgRespCode.SYSTEM_ERROR);
return CzgResult.failure(CzgRespCode.SYSTEM_ERROR.getCode(), ex.getMessage());
}
@ResponseBody

View File

@@ -66,7 +66,7 @@ public class PrintMachine implements Serializable {
/**
* 店铺Id
*/
private String shopId;
private Long shopId;
/**
* 分类Id