检查登录接口,完成微信支付接口

main
“yyffkk” 2 years ago
parent ad3f553632
commit 4b066800e4

@ -165,6 +165,9 @@ public class SysDailyPaymentServiceImpl implements SysDailyPaymentService {
try {
//判断支付金额是否超出待缴金额
VoFindByIdDailyPayment byId = sysDailyPaymentDao.findById(dailyPaymentPayInfo.getDailyPaymentId());
if(byId==null){
throw new RuntimeException("请填写完整信息");
}
if (dailyPaymentOrder.getPayPrice().compareTo(byId.getPaymentPrice()) == 1 ){
throw new RuntimeException("支付超出待缴金额,请重新支付,待缴金额为:"+byId.getPaymentPrice());
}

@ -5,6 +5,7 @@ spring:
url: jdbc:mysql://localhost:3306/IntelligentCommunity?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: 111111
# url: jdbc:mysql://121.40.163.226:3306/yjfh_community?useUnicode=true&characterEncoding=utf8&useSSL=false
# username: yjfh_community
# password: Rc46WeJP6Y2sx3Mn

@ -14,7 +14,11 @@ spring:
# # 测试数据库连接
url: jdbc:mysql://localhost:3306/star_community?useUnicode=true&characterEncoding=utf8&useSSL=false
# url: jdbc:mysql://localhost:3306/star_community?useUnicode=true&characterEncoding=utf8&useSSL=false
# username: star_community
# password: GhNWYYynXcTC28Ce
url: jdbc:mysql://47.92.73.187:3306/star_community?useUnicode=true&characterEncoding=utf8&useSSL=false
username: star_community
password: GhNWYYynXcTC28Ce
password: nXxNknd4XpPWN8zp
driver-class-name: com.mysql.jdbc.Driver
Loading…
Cancel
Save