1拼多多接口上传及相关功能(不含部分功能) 2拼多多选品

This commit is contained in:
wule committed 2026-03-31 18:14:55 +08:00
1 parent ff42506091
commit 07b912e9eb
37 files changed
+21117 -206

No files matched your search

@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.PDDResult
{
public class ApiPddGoodsCatRuleInfo
{
public int? input_max_spec_num { get; set; } // 0,
public List<ApiPddProperty> properties { get; set; }
public bool? choose_all_qualify_spec { get; set; } // false
}
public class ApiPddProperty
{
public bool? is_sale { get; set; } // false,
public bool? is_important { get; set; } // true,
public bool? is_sku { get; set; } // false,
public List<ApiPddPropertyValue> values { get; set; } // Array[11],
public int? value_precision { get; set; } // 0,
public int? input_max_num { get; set; } // 0,
public bool? required { get; set; } // false,
public object required_rule { get; set; }
public int? required_rule_type { get; set; } // 0,
public int? choose_max_num { get; set; } // 1,
public string min_value { get; set; } // "",
public bool? can_note { get; set; } // false,
public long? ref_pid { get; set; } // 1366,
public string name { get; set; } // "穿耳材质",
public List<string> value_unit { get; set; } // [ "" ],
public string max_value { get; set; } // "",
public int? property_value_type { get; set; } // 0
}
public class ApiPddPropertyValue
{
public long? vid { get; set; } // 10629, // 12854,
public string value { get; set; } // "其它", // "塑料",
}
}
+5 -3
View File
@@ -99,9 +99,10 @@ namespace AllBase.Model.Result
public string GroupName { get; set; }
public DateTime AddTime { get; set; }
public string LastRefreshDate { get; set; }
public string AccessToken { get { return CurrentAuthInfo?.AccessToken; } }
public string RefreshToken { get { return CurrentAuthInfo?.RefreshToken; } }
public string AppKey { get { return CurrentAuthInfo?.AppKey; } }
public string AccessToken { get { return (CurrentAuthInfo?.AccessToken).ParseToString(); } }
public string RefreshToken { get { return (CurrentAuthInfo?.RefreshToken).ParseToString(); } }
public string AppKey { get { return (CurrentAuthInfo?.AppKey).ParseToString(); } }
public string AppSecret { get { return (CurrentAuthInfo?.AppSecret).ParseToString(); } }
public DateTime AuthAddTime { get { return CurrentAuthInfo?.AddTime == null ? new DateTime() : CurrentAuthInfo.AddTime; } }
public DateTime AuthExpiresTime { get { return CurrentAuthInfo?.ExpiresTime == null ? new DateTime() : CurrentAuthInfo.ExpiresTime; } }
/// <summary>
@@ -206,6 +207,7 @@ namespace AllBase.Model.Result
public string AccessToken { get; set; } = "";
public string RefreshToken { get; set; } = "";
public string AppKey { get; set; } = "";
public string AppSecret { get; set; } = "";
public DateTime ExpiresTime { get; set; }
public DateTime AddTime { get; set; } = DateTime.MinValue;
public string ApiAuthStatus { get; set; } = "未授权";