|
@@ -1055,8 +1055,8 @@ public class RegisterServiceImpl implements RegisterService {
|
|
|
payHistory.setPrice(pac.getPrice());
|
|
|
// 新增超级会员购买记录
|
|
|
int id = vipMapper.addPayHistory(payHistory);
|
|
|
- if (id > 0) {
|
|
|
- return ResponseJson.success(id);
|
|
|
+ if (payHistory.getId() > 0) {
|
|
|
+ return ResponseJson.success(payHistory.getId());
|
|
|
}
|
|
|
return ResponseJson.error("支付开通超级会员异常!", null);
|
|
|
}
|