超管 增加商铺永不过期权限
This commit is contained in:
1 parent
5bfaed02e2
commit
bac53e7812
6 files changed
+1734
-1655
No files matched your search
@@ -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);
|
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>
|
/// <summary>
|
||||||
/// post 数据
|
/// post 数据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -228,7 +228,12 @@ namespace AllBase.Model.Result
|
|||||||
/// 遇到需要终止上货的提示词的重试次数。
|
/// 遇到需要终止上货的提示词的重试次数。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int upLimitRetryCount { get; set; } = 0;
|
public int upLimitRetryCount { get; set; } = 0;
|
||||||
}
|
/// <summary>
|
||||||
|
/// 是否永不过期
|
||||||
|
/// </summary>
|
||||||
|
public bool never_expires { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public class AuthInfo
|
public class AuthInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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.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.is_point_shop_expire = BaseRegex.GetBoolJson(ref shopStr, "is_point_shop_expire");
|
||||||
shop.expire_time = BaseRegex.GetIntJson(ref shopStr, "expire_time");
|
shop.expire_time = BaseRegex.GetIntJson(ref shopStr, "expire_time");
|
||||||
|
shop.never_expires = BaseRegex.GetBoolJson(ref shopStr, "never_expires");
|
||||||
if (BaseClass.MainPath == "29pdd")
|
if (BaseClass.MainPath == "29pdd")
|
||||||
{
|
{
|
||||||
shop.AntiContents.Clear();
|
shop.AntiContents.Clear();
|
||||||
//shop.AntiContents.AddRange(JsonHelper.DeserializeJsonToList<string>(jObj["anti_contents"].IsNullOrEmpty() ? "[]" : jObj["anti_contents"].ToString()));
|
//shop.AntiContents.AddRange(JsonHelper.DeserializeJsonToList<string>(jObj["anti_contents"].IsNullOrEmpty() ? "[]" : jObj["anti_contents"].ToString()));
|
||||||
|
|||||||
+998
-981
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">
|
<metadata name="colSubSa.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</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">
|
<metadata name="colEdit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
Reference in new issue
Block a user