提交代码
This commit is contained in:
parent
37d54eccbb
commit
d20dd35f8e
|
|
@ -16,12 +16,12 @@ docker push 123.207.203.228:92/miaoyuapi:dev-1.2.7
|
||||||
docker push 123.207.203.228:92/miaoyuapi:latest
|
docker push 123.207.203.228:92/miaoyuapi:latest
|
||||||
|
|
||||||
docker build -t miaoyu:dev-1.3.31 -f src/2-api/HuanMeng.MiaoYu.WebApi/Dockerfile .
|
docker build -t miaoyu:dev-1.3.31 -f src/2-api/HuanMeng.MiaoYu.WebApi/Dockerfile .
|
||||||
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.3 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.3 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.7 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.7 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
||||||
docker tag hm-admin:dev-1.0.0
|
docker tag hm-admin:dev-1.0.0
|
||||||
docker build -t hm-admin:v1.0 -t hm-admin:latest .
|
docker build -t hm-admin:v1.0 -t hm-admin:latest .
|
||||||
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.5 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.5 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.5 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.5 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
||||||
docker push 123.207.203.228:92/hm-admin:latest
|
docker push 123.207.203.228:92/hm-admin:latest
|
||||||
docker push 123.207.203.228:92/hm-admin:dev-1.0.5
|
docker push 123.207.203.228:92/hm-admin:dev-1.0.7
|
||||||
# 运行
|
# 运行
|
||||||
docker run -d -p 90:90 -v E://disk/output:/app/output --name webapi miaoyu:dev-0.0.3
|
docker run -d -p 90:90 -v E://disk/output:/app/output --name webapi miaoyu:dev-0.0.3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,24 @@ namespace HuanMeng.MiaoYu.Code.Music
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="version"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public async Task<BaseResponse<MusicConfigDto>> GetAppConfig(string? version)
|
||||||
|
{
|
||||||
|
var images = MiaoYuCacheExtend.GetMiaoYuDataEntityCacheList<T_Image_Config>(this);
|
||||||
|
MusicConfigDto musicConfigDto = new MusicConfigDto()
|
||||||
|
{
|
||||||
|
IsCheck = true,
|
||||||
|
MallBanner = images.GetImageUrl(9002),
|
||||||
|
MyPageMallEntrance = images.GetImageUrl(9001)
|
||||||
|
};
|
||||||
|
return new BaseResponse<MusicConfigDto>(ResonseCode.Success, "", musicConfigDto) { };
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取音乐分类
|
/// 获取音乐分类
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
31
src/0-core/HuanMeng.MiaoYu.Model/Dto/Music/MusicConfigDto.cs
Normal file
31
src/0-core/HuanMeng.MiaoYu.Model/Dto/Music/MusicConfigDto.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace HuanMeng.MiaoYu.Model.Dto.Music
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
|
||||||
|
public class MusicConfigDto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 是否审核模式
|
||||||
|
/// </summary>
|
||||||
|
public bool IsCheck { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 我的页面商城入口
|
||||||
|
/// </summary>
|
||||||
|
public string MyPageMallEntrance { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 商城页面banner
|
||||||
|
/// </summary>
|
||||||
|
public string MallBanner { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -222,5 +222,18 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="version"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet]
|
||||||
|
public async Task<BaseResponse<MusicConfigDto>> GetAppConfig(string? version)
|
||||||
|
{
|
||||||
|
MusicBLL musicBLL = new MusicBLL(ServiceProvider);
|
||||||
|
return await musicBLL.GetAppConfig(version);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user