代理版本调试
This commit is contained in:
1 parent
dcdfa30419
commit
1669305479
34 files changed
+4872
-184
No files matched your search
@@ -82,7 +82,7 @@
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
<ApplicationIcon>29_common_icon_orange.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
@@ -537,6 +537,9 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\default_pic.png" />
|
||||
<Content Include="29_common_icon_orange.ico" />
|
||||
<Content Include="buy.ico" />
|
||||
<Content Include="main.ico" />
|
||||
<Content Include="Resources\jzz.png" />
|
||||
<Content Include="Resources\qrcode.png" />
|
||||
<Content Include="Resources\weixin_bg.jpg" />
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -43,9 +43,11 @@ namespace _29WxOrder
|
||||
string IgPakFile = "locales/ig.pak";//贴牌客服端码
|
||||
string OenVersionFile = "locales/igv.pak";//贴牌资源配置版本
|
||||
string IaPakFile = "locales/ia.pak";//logo
|
||||
string IbPakFile = "locales/ib.pak";//ico
|
||||
//string IbPakFile = "locales/ib.pak";//ico
|
||||
string LoPakFile = "locales/lo.pak";
|
||||
string IcPakFile = "locales/ic.pak";//功能配置
|
||||
OenMechanism(IgPakFile, OenVersionFile, IaPakFile, IbPakFile, IcPakFile);
|
||||
|
||||
OenMechanism(IgPakFile, OenVersionFile, IaPakFile, LoPakFile, IcPakFile);
|
||||
#endregion
|
||||
|
||||
//启动界面
|
||||
@@ -115,7 +117,7 @@ namespace _29WxOrder
|
||||
/// <param name="sIaPakFile">ico本地缓存文件</param>
|
||||
/// <param name="sIbPakFile">logo本地缓存文件</param>
|
||||
/// <param name="sIcPakFile">贴牌配置本地缓存文件</param>
|
||||
private static void OenMechanism(string IgPakFile, string OenVersionFile, string IaPakFile, string IbPakFile, string IcPakFile)
|
||||
private static void OenMechanism(string IgPakFile, string OenVersionFile, string IaPakFile, string LogoBitmapFile, string IcPakFile)
|
||||
{
|
||||
//先检测是否是贴牌版本
|
||||
if (!FileBase.Exists(IgPakFile))
|
||||
@@ -156,7 +158,7 @@ namespace _29WxOrder
|
||||
{
|
||||
OenArchieveFailedToExit();
|
||||
}
|
||||
if (!GetHtml.DownloadFile(oem_icon_link, IbPakFile))//icon图片
|
||||
if (!GetHtml.DownloadFile(oem_icon_link, LogoBitmapFile))//icon图片
|
||||
{
|
||||
OenArchieveFailedToExit();
|
||||
}
|
||||
@@ -180,7 +182,7 @@ namespace _29WxOrder
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!FileBase.Exists(IbPakFile))
|
||||
if (!FileBase.Exists(LogoBitmapFile))
|
||||
{
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
string oem_icon_link = JObject.Parse(html)["data"]["oem_icon_link"].ToString();//icon图片 ib
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
Reference in new issue
Block a user