|
|
@@ -149,6 +149,7 @@ public class CmsGroupRelationController {
|
|
|
public Result<String> updateRechargeStatus(@RequestBody GroupsRelationRechargeView rechargeView) {
|
|
|
long adminId = StpUtil.getLoginIdAsLong();
|
|
|
Long relationId = rechargeView.getRelationId();
|
|
|
+ String account = rechargeView.getAccount();
|
|
|
String password = rechargeView.getPassword();
|
|
|
GroupsRelation relation = groupsRelationMapper.selectById(relationId);
|
|
|
Assert.notNull(relation, "代充车票不存在");
|
|
|
@@ -165,6 +166,9 @@ public class CmsGroupRelationController {
|
|
|
relation.setOperator(cmsUser.getNickname());
|
|
|
//邀请制家庭组链接
|
|
|
relation.setInviteLink(rechargeView.getInviteLink());
|
|
|
+ if (StrUtil.isNotEmpty(account)) {
|
|
|
+ relation.setAccount(account);
|
|
|
+ }
|
|
|
if (StrUtil.isNotEmpty(password)) {
|
|
|
relation.setPassword(password);
|
|
|
}
|