店铺优化相关功能
This commit is contained in:
1 parent
9805792aed
commit
0e6a927cf2
43 files changed
+3305
-1604
No files matched your search
@@ -60,7 +60,10 @@ namespace AllBase.Model.Result.PDDResult
|
||||
}
|
||||
}
|
||||
public string sendStatus { get; set; } = "";
|
||||
//public string refundStatus { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 微信退款单状态
|
||||
/// </summary>
|
||||
public string wxRefundStatus { get; set; } = "";
|
||||
public string buyerId { get; set; } // 买手Id
|
||||
public string buyerName { get; set; } // 买手名称
|
||||
|
||||
|
||||
@@ -200,6 +200,19 @@ namespace AllBase.Model.Result
|
||||
|
||||
public DateTime? jit_expire_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过期时间戳,单位秒
|
||||
/// </summary>
|
||||
public int? expire_time { get; set; }
|
||||
|
||||
public bool is_shop_expire
|
||||
{
|
||||
get
|
||||
{
|
||||
return BaseClass.UserAuthority.Contains("积分用户") && BaseClass.DateTimeToTimestampSeconds(DateTime.Now) > expire_time.ParseToInt();
|
||||
}
|
||||
}
|
||||
|
||||
public string CurrentProdId { get; set; }
|
||||
}
|
||||
|
||||
@@ -266,6 +279,10 @@ namespace AllBase.Model.Result
|
||||
/// 用户(JIT推单)授权金额
|
||||
/// </summary>
|
||||
public decimal? authorized_amount { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺积分
|
||||
/// </summary>
|
||||
public int points { get; set; }
|
||||
}
|
||||
|
||||
public class ShopSubAccountInfo : SubAccountInfo
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.WXResult
|
||||
{
|
||||
public class WxOptimizeOrderAfterSaleInfo
|
||||
{
|
||||
public string shopId { get; set; }
|
||||
public string shopName { get; set; }
|
||||
|
||||
public AfterSaleOrderInfo orderInfo { get; set; }
|
||||
public string reason { get; set; } // "生锈/弯曲变形/钝化不锋利"
|
||||
|
||||
}
|
||||
|
||||
public class AfterSaleOrderInfo
|
||||
{
|
||||
public string name { get; set; } // "短马尾假发女低扎梨花卷绑带式仿真长发蓬松慵懒新中式发饰假辫子",
|
||||
public string skuName { get; set; } // "丝带慵懒感低马尾-短款30cm-棕黑色",
|
||||
public string spuId { get; set; } // "10000723851835",
|
||||
public string orderId { get; set; } // "3735828805942909440",
|
||||
public string price { get; set; } // "2424",
|
||||
public string createTime { get; set; } // "1775941648",
|
||||
public int? productCnt { get; set; } // 1,
|
||||
public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69b60bf70007c5d80d671bd6d9478e0b000000a100004f50",
|
||||
public string skuCode { get; set; } // "2032028553182519297",
|
||||
public string skuThumbUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69b60bf70007c5d80d671bd6d9478e0b000000a100004f50"
|
||||
public string coverageBillOrder { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.WXResult
|
||||
{
|
||||
public class WxOptimizeOrderWayBillInfo
|
||||
{
|
||||
public WayBillOrderInfo orderInfo { get; set; }
|
||||
public string waybillId { get; set; } // "JT4157662637789",
|
||||
public string realPickupTime { get; set; } // "1776764623",
|
||||
public string pickupDuration { get; set; } // "98460",
|
||||
public WayBillDelivery delivery { get; set; }
|
||||
public string payTime { get; set; } // "1776666163"
|
||||
}
|
||||
|
||||
public class WayBillDelivery
|
||||
{
|
||||
public string deliveryId { get; set; } // "JTSD",
|
||||
public string deliveryName { get; set; } // "极兔速递",
|
||||
public string imgUrl { get; set; } // "https://res.wx.qq.com/shop/public/c73723c2-efb3-4c5e-84e9-77b43c0ade05.pic.jpg"
|
||||
|
||||
}
|
||||
|
||||
public class WayBillOrderInfo
|
||||
{
|
||||
public string name { get; set; } // "短马尾假发女低扎梨花卷绑带式仿真长发蓬松慵懒新中式发饰假辫子",
|
||||
public string skuName { get; set; } // "丝带慵懒感低马尾-短款30cm-棕黑色",
|
||||
public string spuId { get; set; } // "10000723851835",
|
||||
public string orderId { get; set; } // "3735828805942909440",
|
||||
public string price { get; set; } // "2424",
|
||||
public int? productCnt { get; set; } // 1,
|
||||
public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69b60bf70007c5d80d671bd6d9478e0b000000a100004f50",
|
||||
public string skuCode { get; set; } // "2032028553182519297",
|
||||
public string skuThumbUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69b60bf70007c5d80d671bd6d9478e0b000000a100004f50"
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.WXResult
|
||||
{
|
||||
public class WxOptimizeProductEvaluationInfo
|
||||
{
|
||||
public string productEvaluationId { get; set; } // "53890834526",
|
||||
public OptimizeEvaluationInfo evaluationInfo { get; set; }
|
||||
public EvaluationProductInfo productInfo { get; set; }
|
||||
|
||||
public OperationInfo operationInfo { get; set; }
|
||||
public ComplaintInfo complaint { get; set; }
|
||||
public ReplyInfo replyInfo { get; set; }
|
||||
}
|
||||
|
||||
public class ReplyInfo
|
||||
{
|
||||
public bool? canReply { get; set; } // false,
|
||||
public string replyWording { get; set; } // "发布已超过30天,不可回复",
|
||||
public string replyClass { get; set; } // ""
|
||||
|
||||
}
|
||||
|
||||
public class ComplaintInfo
|
||||
{
|
||||
public int? isSupportComplaint { get; set; } // 1,
|
||||
public int? complaintStatus { get; set; } // 0,
|
||||
public string complaintUuid { get; set; } // "",
|
||||
public string jumpUrl { get; set; } // "",
|
||||
public int? complaintWordStatus { get; set; } // 2
|
||||
|
||||
}
|
||||
|
||||
public class OperationInfo
|
||||
{
|
||||
public string evaluationWording { get; set; } // "一般",
|
||||
public int? canReplyExpireTime { get; set; } // 1775879104,
|
||||
public int? canReply { get; set; } // 1,
|
||||
public int? attitudeType { get; set; } // 2,
|
||||
public string attitudeName { get; set; } // "不够好"
|
||||
|
||||
}
|
||||
|
||||
public class EvaluationProductInfo
|
||||
{
|
||||
public string productId { get; set; } // "10000463687558",
|
||||
public string skuId { get; set; } // "7315410466",
|
||||
public string spuName { get; set; } // "巧克力味圆形小饼干整箱独立包装宿舍休闲小吃零食品",
|
||||
public string skuName { get; set; } // "巧克力の小黑饼358克*1箱",
|
||||
public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/689d3eec000ad249066bef109cb91715000000a100004f50"
|
||||
|
||||
}
|
||||
|
||||
public class OptimizeEvaluationInfo
|
||||
{
|
||||
public int? evaluationStar { get; set; } // 3
|
||||
public string buyerNickname { get; set; } // "远***",
|
||||
public string buyerHeadimgurl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/6389af6b000f38e013f251a1b434b00b000000a100004f50",
|
||||
public FirstEvaluationInfo firstEvaluationInfo { get; set; }
|
||||
public OptimizeEvaluationBuyer buyer { get; set; }
|
||||
public OptimizeEvaluationLike like { get; set; }
|
||||
}
|
||||
|
||||
public class OptimizeEvaluationLike
|
||||
{
|
||||
public string countDescription { get; set; } // "0"
|
||||
}
|
||||
|
||||
public class OptimizeEvaluationBuyer
|
||||
{
|
||||
public OptimizeEvaluationIdentity identity { get; set; }
|
||||
}
|
||||
|
||||
public class OptimizeEvaluationIdentity
|
||||
{
|
||||
public int? type { get; set; } // 1,
|
||||
public string nickname { get; set; } // "远电",
|
||||
public string headimgurl { get; set; } // "https://wx.qlogo.cn/mmhead/9M0PhLTmTIcaqokDrmVaeicynnnjic5H56wKCGxtPO3CfLyJTDAnhDjA"
|
||||
|
||||
}
|
||||
|
||||
public class FirstEvaluationInfo
|
||||
{
|
||||
public BuyerEvaluationInfo buyerEvaluationInfo { get; set; }
|
||||
}
|
||||
|
||||
public class BuyerEvaluationInfo
|
||||
{
|
||||
public string content { get; set; } // "前几天买了这个饼干,结果收到货是五片口香糖,电话咨询老板说寄错了,重新寄过来,又等几天到现在都没有消息!",
|
||||
public int? createTime{get;set;} // 1773287104,
|
||||
public int? isAnonymous { get; set; } // 1,
|
||||
public List<string> imgUrl { get; set; } // [ "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SZ/reserved/69b236b3000a233f38faea9a156aeaa0000000a000004f50" ],
|
||||
public int? autoEvaluation { get; set; } // 0,
|
||||
public AuditInfo auditInfo { get; set; } // { "status": 1 },
|
||||
public int? contentType { get; set; } // 0,
|
||||
public string defaultContent { get; set; } // ""
|
||||
}
|
||||
|
||||
public class AuditInfo
|
||||
{
|
||||
public int? status { get; set; } // 1
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user