|
@@ -756,8 +756,12 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
|
|
if(Validator.isNotEmpty(profile)){
|
|
if(Validator.isNotEmpty(profile)){
|
|
Map<String, String> maps = JSONObject.parseObject(profile.getKeyValue(), Map.class);
|
|
Map<String, String> maps = JSONObject.parseObject(profile.getKeyValue(), Map.class);
|
|
if(maps.containsKey("commitment_seal")){
|
|
if(maps.containsKey("commitment_seal")){
|
|
- String commitment_seal = ALIYUN_OSS_ENDPOINT + "/" + JSONObject.parseObject(String.valueOf(maps.get("commitment_seal")), UserProfileFit.class).getValue();
|
|
|
|
- studyRec.setCommitmentSeal(commitment_seal);
|
|
|
|
|
|
+ String path = JSONObject.parseObject(String.valueOf(maps.get("commitment_seal")), UserProfileFit.class).getValue();
|
|
|
|
+ if(Validator.isNotEmpty(path)&&!path.equals("null")){
|
|
|
|
+ String commitment_seal = ALIYUN_OSS_ENDPOINT + "/" +path;
|
|
|
|
+ studyRec.setCommitmentSeal(commitment_seal);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
if(maps.containsKey("school")){
|
|
if(maps.containsKey("school")){
|
|
String school = JSONObject.parseObject(String.valueOf(maps.get("school")), UserProfileFit.class).getValue();
|
|
String school = JSONObject.parseObject(String.valueOf(maps.get("school")), UserProfileFit.class).getValue();
|