|
|
@@ -366,7 +366,15 @@ public class CmsAccountServiceImpl extends ServiceImpl<AccountMapper, Account> i
|
|
|
}
|
|
|
insert.setSecret(string);
|
|
|
} else {
|
|
|
- insert.setSecret(Constant.AMERICA_APPID_SECRET);
|
|
|
+ //密保
|
|
|
+ if (part.length > 5) {
|
|
|
+ String friends = part[2];
|
|
|
+ String works = part[3];
|
|
|
+ String parents = part[4];
|
|
|
+ String birthday = part[5];
|
|
|
+ String secret = String.format(Constant.NEW_APPID_NO_COUNTRY_SECRET_DATE, birthday, friends, works, parents);
|
|
|
+ insert.setSecret(secret);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|