Commit c33282ce authored by shiyu's avatar shiyu

测试修改开店费为1分钱

parent 93880f11
...@@ -95,7 +95,7 @@ public class OpenShopServiceImpl implements OpenShopService { ...@@ -95,7 +95,7 @@ public class OpenShopServiceImpl implements OpenShopService {
try { try {
Date now = new Date(); Date now = new Date();
//月底修改为300 //月底修改为300
long openShopAmount = 10000L; long openShopAmount = 1L;
//创建申请单 //创建申请单
String orderId = IdUtils.getOrderNumber("OA"); String orderId = IdUtils.getOrderNumber("OA");
OpenShopApplyOrder openShopApplyOrder = new OpenShopApplyOrder(); OpenShopApplyOrder openShopApplyOrder = new OpenShopApplyOrder();
...@@ -192,7 +192,7 @@ public class OpenShopServiceImpl implements OpenShopService { ...@@ -192,7 +192,7 @@ public class OpenShopServiceImpl implements OpenShopService {
@Override @Override
public Result createGuaranteeMoneyOrder(GuaranteeMoneyRecordRequestDto dto) { public Result createGuaranteeMoneyOrder(GuaranteeMoneyRecordRequestDto dto) {
try { try {
if (Integer.valueOf(dto.getAmount()) < 300) { if (Integer.valueOf(dto.getAmount()) < 3) {
return Result.failed("质保金最低300元"); return Result.failed("质保金最低300元");
} }
Date now = new Date(); Date now = new Date();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment