diff --git a/admin-pc/.env.development b/admin-pc/.env.development index cd7b650..cd69ba2 100644 --- a/admin-pc/.env.development +++ b/admin-pc/.env.development @@ -1,5 +1,5 @@ NODE_ENV=development -VUE_APP_API_BASE_URL=http://localhost:8005/popularize-admin/ +VUE_APP_API_BASE_URL=http://localhost:8001/popularize-admin/ VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview diff --git a/admin-pc/.env.production b/admin-pc/.env.production index e494cc5..df1d7d5 100644 --- a/admin-pc/.env.production +++ b/admin-pc/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production -VUE_APP_API_BASE_URL=http://localhost:8005/popularize-admin/ +VUE_APP_API_BASE_URL=http://localhost:8001/popularize-admin/ VUE_APP_CAS_BASE_URL=http://localhost:8888/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview \ No newline at end of file diff --git a/module-common/src/main/java/org/jeecg/api/service/impl/ApiIndexServiceImpl.java b/module-common/src/main/java/org/jeecg/api/service/impl/ApiIndexServiceImpl.java index 9b9410d..a8b7653 100644 --- a/module-common/src/main/java/org/jeecg/api/service/impl/ApiIndexServiceImpl.java +++ b/module-common/src/main/java/org/jeecg/api/service/impl/ApiIndexServiceImpl.java @@ -882,9 +882,9 @@ public class ApiIndexServiceImpl implements ApiIndexService { .eq(PopularizeOrder::getTravelOrderId, id) .eq(PopularizeOrder::getState, "1") .count(); - if(count>=byId.getNum()){ - return Result.error("报名人数已满,请不要重复报名!"); - } +// if(count>=byId.getNum()){ +// return Result.error("报名人数已满,请不要重复报名!"); +// } //创建订单 BigDecimal payPrice = byId.getPrice();