超管 增加商铺永不过期权限

This commit is contained in:
chfei committed 2026-09-28 17:08:42 +08:00
1 parent 5bfaed02e2
commit bac53e7812
6 files changed
+1734 -1655

No files matched your search

+9
View File
@@ -1174,6 +1174,15 @@ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
{
return await PostUtf8Async(url, postData, contentType: "application/json", timeOut: timeOut);
}
public static string PostJson(string url, object postData, int? timeOut = null)
{
return PostUtf8(url, JsonHelper.SerializeObject(postData), contentType: "application/json", timeOut: timeOut);
}
public static string PostJson(string url, string postData, int? timeOut = null)
{
return PostUtf8(url, postData, contentType: "application/json", timeOut: timeOut);
}
/// <summary>
/// post 数据
/// </summary>
+6 -1
View File
@@ -228,7 +228,12 @@ namespace AllBase.Model.Result
/// 遇到需要终止上货的提示词的重试次数。
/// </summary>
public int upLimitRetryCount { get; set; } = 0;
}
/// <summary>
/// 是否永不过期
/// </summary>
public bool never_expires { get; set; }
}
public class AuthInfo
{
+2 -2
View File
@@ -296,8 +296,8 @@ namespace TemuKJD.BLL
shop.AddTime = BaseRegex.GetStringJson(ref shopStr, "add_time") == null ? DateTime.MinValue : Convert.ToDateTime(BaseRegex.GetStringJson(ref shopStr, "add_time"));
shop.is_point_shop_expire = BaseRegex.GetBoolJson(ref shopStr, "is_point_shop_expire");
shop.expire_time = BaseRegex.GetIntJson(ref shopStr, "expire_time");
if (BaseClass.MainPath == "29pdd")
shop.never_expires = BaseRegex.GetBoolJson(ref shopStr, "never_expires");
if (BaseClass.MainPath == "29pdd")
{
shop.AntiContents.Clear();
//shop.AntiContents.AddRange(JsonHelper.DeserializeJsonToList<string>(jObj["anti_contents"].IsNullOrEmpty() ? "[]" : jObj["anti_contents"].ToString()));
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -201,6 +201,9 @@
<metadata name="colSubSa.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_never_expires.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colEdit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>