Himall.Web/Areas/SellerAdmin/Controllers/CustomerServiceController.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using Himall.IServices;
using Himall.Model;
using Himall.Web.Areas.SellerAdmin.Models;
using Himall.Web.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Web.Mvc;
namespace Himall.Web.Areas.SellerAdmin.Controllers
{
public class CustomerServiceController : BaseSellerController
{
public CustomerServiceController()
{
}
public ActionResult Add(long? id)
{
CustomerServiceInfo customerServiceInfo;
CustomerServiceModel customerServiceModel;
ICustomerService customerService = ServiceHelper.Create<ICustomerService>();
if (id.HasValue)
{
long? nullable = id;
if ((nullable.GetValueOrDefault() <= 0 ? true : !nullable.HasValue))
{
customerServiceInfo = new CustomerServiceInfo();
customerServiceModel = new CustomerServiceModel()
{
Id = customerServiceInfo.Id,
Account = customerServiceInfo.AccountCode,
Name = customerServiceInfo.Name,
Tool = customerServiceInfo.Tool,
Type = new CustomerServiceInfo.ServiceType?(customerServiceInfo.Type)
};
return View(customerServiceModel);
}
customerServiceInfo = customerService.GetCustomerService(base.CurrentSellerManager.ShopId, id.Value);
customerServiceModel = new CustomerServiceModel()
{
Id = customerServiceInfo.Id,
Account = customerServiceInfo.AccountCode,
Name = customerServiceInfo.Name,
Tool = customerServiceInfo.Tool,
Type = new CustomerServiceInfo.ServiceType?(customerServiceInfo.Type)
};
return View(customerServiceModel);
}
customerServiceInfo = new CustomerServiceInfo();
customerServiceModel = new CustomerServiceModel()
{
Id = customerServiceInfo.Id,
Account = customerServiceInfo.AccountCode,
Name = customerServiceInfo.Name,
Tool = customerServiceInfo.Tool,
Type = new CustomerServiceInfo.ServiceType?(customerServiceInfo.Type)
};
后面还有 57 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
