增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,128 @@
|
||||
using MAX.Core.DependencyInjection;
|
||||
using MAX.Core.Helpers;
|
||||
using Store.Client.HttpExtension;
|
||||
|
||||
namespace Store.Client.Apis
|
||||
{
|
||||
public partial class OrderApi : AppApiRequestBase, ITransientDependency
|
||||
{
|
||||
#region 默认服务接口
|
||||
/// <summary>
|
||||
/// order/add_order
|
||||
/// </summary>
|
||||
public HttpResult AddOrder(string postdata = "")
|
||||
{
|
||||
return Post("order/add_order", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/add_order_code_file
|
||||
/// </summary>
|
||||
public HttpResult AddOrderCodeFile(string postdata = "")
|
||||
{
|
||||
return Post("order/add_order_code_file", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/get_order_code_file
|
||||
/// </summary>
|
||||
public HttpResult GetOrderCodeFile(string postdata = "")
|
||||
{
|
||||
return Post("order/get_order_code_file", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/get_order_list
|
||||
/// </summary>
|
||||
public HttpResult GetOrderList(string postdata = "")
|
||||
{
|
||||
return Post("order/get_order_list", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/save_order_code_file_link
|
||||
/// </summary>
|
||||
public HttpResult SaveOrderCodeFileLink(string postdata = "")
|
||||
{
|
||||
return Post("order/save_order_code_file_link", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/update_order_status
|
||||
/// </summary>
|
||||
public HttpResult UpdateOrderStatus(string postdata = "")
|
||||
{
|
||||
return Post("order/update_order_status", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/update_order_status1
|
||||
/// </summary>
|
||||
public HttpResult UpdateOrderStatus1(string postdata = "")
|
||||
{
|
||||
return Post("order/update_order_status1", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/upload_order
|
||||
/// </summary>
|
||||
public HttpResult UploadOrder(string postdata = "")
|
||||
{
|
||||
return Post("order/upload_order", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// pay_group_order&act=get_confirm_order&buy_type={buyType}&page={page}
|
||||
/// </summary>
|
||||
public HttpResult GetPayGroupConfirmOrder(string buyType, int page, string postdata = "")
|
||||
{
|
||||
return Post("pay_group_order&act=get_confirm_order&buy_type=" + buyType + "&page=" + page, postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// pay_group_order&act=reset_status
|
||||
/// </summary>
|
||||
public HttpResult ResetPayGroupOrderStatus(string postdata = "")
|
||||
{
|
||||
return Post("pay_group_order&act=reset_status", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// pay_group_order&act=update&buy_type={buyType}
|
||||
/// </summary>
|
||||
public HttpResult UpdatePayGroupOrder(string buyType, string postdata = "")
|
||||
{
|
||||
return Post("pay_group_order&act=update&buy_type=" + buyType, postdata);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 微信服务接口
|
||||
/// <summary>
|
||||
/// order/get_erp_order_list
|
||||
/// </summary>
|
||||
public HttpResult WxGetErpOrderList(string postdata = "")
|
||||
{
|
||||
return PostWx("order/get_erp_order_list", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/wx_del_erp_transit_warehouse_order
|
||||
/// </summary>
|
||||
public HttpResult WxDelErpTransitWarehouseOrder(string postdata = "")
|
||||
{
|
||||
return PostWx("order/wx_del_erp_transit_warehouse_order", postdata);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// order/wx_get_transit_order
|
||||
/// </summary>
|
||||
public HttpResult WxGetTransitOrder(string postdata = "")
|
||||
{
|
||||
return PostWx("order/wx_get_transit_order", postdata);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user