This commit is contained in:
qjq
2024-06-17 16:03:36 +08:00
parent ae0ee43b58
commit f62c43c5a1
2 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class FileServiceImpl implements FileService {
FileClient client = fileConfigService.getMasterFileClient(); FileClient client = fileConfigService.getMasterFileClient();
Assert.notNull(client, "客户端(master) 不能为空"); Assert.notNull(client, "客户端(master) 不能为空");
String url = client.upload(content, path, type); String url = client.upload(content, path, type);
url=url.substring(url.lastIndexOf("8895")+4);
// 保存到数据库 // 保存到数据库
FileDO file = new FileDO(); FileDO file = new FileDO();
file.setConfigId(client.getId()); file.setConfigId(client.getId());

View File

@ -38,7 +38,8 @@ public class AppMemberUserInfoRespVO {
@Schema(description = "延伸", requiredMode = Schema.RequiredMode.REQUIRED, example = "true") @Schema(description = "延伸", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
private UserExpandDO userExpandDO; private UserExpandDO userExpandDO;
@Schema(description = "人脸", requiredMode = Schema.RequiredMode.REQUIRED)
private Long faceId;
@Schema(description = "用户 App - 会员等级") @Schema(description = "用户 App - 会员等级")
@Data @Data
public static class Level { public static class Level {