Himall.Web/Areas/Admin/Controllers/OrderRefundController.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using Himall.Core;
using Himall.IServices;
using Himall.IServices.QueryModel;
using Himall.Model;
using Himall.Web.Framework;
using Himall.Web.Models;
using Microsoft.CSharp.RuntimeBinder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Web.Mvc;
namespace Himall.Web.Areas.Admin.Controllers
{
public class OrderRefundController : BaseAdminController
{
public OrderRefundController()
{
}
[HttpPost]
[UnAuthorize]
public JsonResult ConfirmRefund(long refundId, string managerRemark)
{
Result result = new Result();
IRefundService refundService = ServiceHelper.Create<IRefundService>();
refundService.ConfirmRefund(refundId, managerRemark, base.CurrentManager.UserName);
result.success = true;
return Json(result);
}
public static string HTMLEncode(string txt)
{
if (string.IsNullOrEmpty(txt))
{
return string.Empty;
}
string str = txt.Replace(" ", " ");
str = str.Replace("<", "<");
str = str.Replace(">", ">");
str = str.Replace("\"", """);
return str.Replace("'", "'").Replace("\n", "<br>");
}
[HttpPost]
[UnAuthorize]
[ValidateInput(false)]
public JsonResult List(DateTime? startDate, DateTime? endDate, long? orderId, int? auditStatus, string shopName, string ProductName, string userName, int page, int rows, int showtype = 0)
{
OrderRefundInfo.OrderRefundAuditStatus? nullable;
RefundQuery refundQuery = new RefundQuery()
{
StartDate = startDate,
EndDate = endDate,
OrderId = orderId,
ProductName = ProductName
};
RefundQuery refundQuery1 = refundQuery;
int? nullable1 = auditStatus;
后面还有 70 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
