|
@@ -24,6 +24,25 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ #region 获取押金政策
|
|
|
|
|
+ public string GetDepositList(string value)
|
|
|
|
|
+ {
|
|
|
|
|
+ string content = "";
|
|
|
|
|
+ try
|
|
|
|
|
+ {
|
|
|
|
|
+ JsonData data = JsonMapper.ToObject(value);
|
|
|
|
|
+ string depositId = data["depositId"].ToString();
|
|
|
|
|
+ content = PublicImportDataService.Instance.GetDepositAmount(depositId);
|
|
|
|
|
+ }
|
|
|
|
|
+ catch(Exception ex)
|
|
|
|
|
+ {
|
|
|
|
|
+ function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "获取开店宝政策异常");
|
|
|
|
|
+ }
|
|
|
|
|
+ return content;
|
|
|
|
|
+ }
|
|
|
|
|
+ #endregion
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
#region 设置押金
|
|
#region 设置押金
|
|
|
public string SetDeposit(string value)
|
|
public string SetDeposit(string value)
|
|
|
{
|
|
{
|