修改时间
This commit is contained in:
parent
977b3a8a7e
commit
600125711d
|
|
@ -4,11 +4,11 @@
|
|||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||
|
||||
# 设置时区为北京时间
|
||||
RUN apt-get update && apt-get install -y tzdata && \
|
||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
echo "Asia/Shanghai" > /etc/timezone && \
|
||||
dpkg-reconfigure -f noninteractive tzdata && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
#RUN apt-get update && apt-get install -y tzdata && \
|
||||
# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
# echo "Asia/Shanghai" > /etc/timezone && \
|
||||
# dpkg-reconfigure -f noninteractive tzdata && \
|
||||
# apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER $APP_UID
|
||||
WORKDIR /app
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public static class AppConfigBLLExtend
|
|||
public static AppConfigCache GetAppConfig(this List<AppConfigCache> app_Configs, int cfgType, int cfgId, AppRequestConfig? appRequestInfo)
|
||||
{
|
||||
var list = GetAppCfgList(app_Configs, cfgType, cfgId, appRequestInfo?.Channel, appRequestInfo?.Platform, appRequestInfo.VersionNum, appRequestInfo?.Continent, appRequestInfo?.CountryName);
|
||||
return list.FirstOrDefault();
|
||||
return list?.FirstOrDefault();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user