1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
| { "timestamp": "2020-07-06T01:16:31.728+00:00", "status": 400, "error": "Bad Request", "exception": "org.springframework.validation.BindException", "message": "Validation failed for object='activitiesPrizeWheelCreateDto'. Error count: 4", "errors": [ { "codes": [ "Future.activitiesPrizeWheelCreateDto.baseSetting.startAt", "Future.baseSetting.startAt", "Future.startAt", "Future.java.util.Date", "Future" ], "arguments": [ { "codes": [ "activitiesPrizeWheelCreateDto.baseSetting.startAt", "baseSetting.startAt" ], "arguments": null, "defaultMessage": "baseSetting.startAt", "code": "baseSetting.startAt" } ], "defaultMessage": "活动开始时间 不可小于现在", "objectName": "activitiesPrizeWheelCreateDto", "field": "baseSetting.startAt", "rejectedValue": "2020-06-01T00:00:00.000+00:00", "bindingFailure": false, "code": "Future" }, { "codes": [ "Range.activitiesPrizeWheelCreateDto.baseSetting.accessLimit", "Range.baseSetting.accessLimit", "Range.accessLimit", "Range.java.lang.Integer", "Range" ], "arguments": [ { "codes": [ "activitiesPrizeWheelCreateDto.baseSetting.accessLimit", "baseSetting.accessLimit" ], "arguments": null, "defaultMessage": "baseSetting.accessLimit", "code": "baseSetting.accessLimit" }, 2, 1 ], "defaultMessage": "访问限制 值 需介于 1 到 2 之间", "objectName": "activitiesPrizeWheelCreateDto", "field": "baseSetting.accessLimit", "rejectedValue": 3, "bindingFailure": false, "code": "Range" }, { "codes": [ "TimeFrame.activitiesPrizeWheelCreateDto.baseSetting.endAt", "TimeFrame.baseSetting.endAt", "TimeFrame.endAt", "TimeFrame.java.util.Date", "TimeFrame" ], "arguments": null, "defaultMessage": "活动时间不能超过3个月", "objectName": "activitiesPrizeWheelCreateDto", "field": "baseSetting.endAt", "rejectedValue": "2020-11-30T23:59:59.999+00:00", "bindingFailure": false, "code": "TimeFrame" }, { "codes": [ "error.activitiesPrizeWheelCreateDto.prizeSetting[0].probability", "error.activitiesPrizeWheelCreateDto.prizeSetting.probability", "error.prizeSetting[0].probability", "error.prizeSetting.probability", "error.probability", "error.java.lang.Integer", "error" ], "arguments": null, "defaultMessage": "无奖类奖品:電子禮券 中奖机率应为 95", "objectName": "activitiesPrizeWheelCreateDto", "field": "prizeSetting[0].probability", "rejectedValue": 1000, "bindingFailure": false, "code": "error" } ], "path": "/api/v1/marketingActivity/prizeWheel" }
|