|
|
@@ -72,6 +72,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
function.WriteLog(DateTime.Now.ToString() + ":下级:" + MakerCode + ", 上级:" + ParentMakerCode, "换线日志");
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "ParentMakerCode:" + ParentMakerCode, "SysTools", "RelationForUserDo");
|
|
|
return "success";
|
|
|
}
|
|
|
return "创客编号不存在";
|
|
|
@@ -108,6 +109,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string CheckMachineDo(string MakerCode, string PosSn, int AddActPrize = 0, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "PosSn:" + PosSn + "AddActPrize:" + AddActPrize, "SysTools", "CheckMachineDo");
|
|
|
if (string.IsNullOrEmpty(MakerCode))
|
|
|
{
|
|
|
return "请输入创客编号";
|
|
|
@@ -345,6 +347,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string CheckMachine2Do(string MakerCode, string PosSn, string MerNo = "", int AddActPrize = 0)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "PosSn:" + PosSn + "AddActPrize:" + AddActPrize, "SysTools", "CheckMachine2Do");
|
|
|
if (string.IsNullOrEmpty(MakerCode))
|
|
|
{
|
|
|
return "请输入创客编号";
|
|
|
@@ -531,6 +534,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string CheckMachineForTeam1Do(string MakerCode, string PosSn, int AddActPrize = 0, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "PosSn:" + PosSn + "AddActPrize:" + AddActPrize, "SysTools", "CheckMachineForTeam1Do");
|
|
|
if (string.IsNullOrEmpty(MakerCode))
|
|
|
{
|
|
|
return "请输入创客编号";
|
|
|
@@ -968,6 +972,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string SetMerAgentDo(string MakerCode, string PosSn, string MerNo, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "PosSn:" + PosSn + "MerNo:" + MerNo, "SysTools", "SetMerAgentDo");
|
|
|
if (string.IsNullOrEmpty(MakerCode))
|
|
|
{
|
|
|
return "请输入创客编号";
|
|
|
@@ -1093,6 +1098,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string CancelMerAgentDo(string MakerCode, string PosSn, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "PosSn:" + PosSn, "SysTools", "CancelMerAgentDo");
|
|
|
if (string.IsNullOrEmpty(MakerCode))
|
|
|
{
|
|
|
return "请输入创客编号";
|
|
|
@@ -1200,6 +1206,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string SeeSnDetailDo(string PosSn)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn, "SysTools", "SeeSnDetailDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -1464,6 +1471,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string MakeCouponsDo(int Kind, int Number)
|
|
|
{
|
|
|
+ AddSysLog("Kind:" + Kind + "Number:" + Number, "SysTools", "MakeCouponsDo");
|
|
|
DateTime checkTime = DateTime.Parse("1900-01-01");
|
|
|
string checkTimeString = RedisDbconn.Instance.Get<string>("MakerCouponsQueueCheckTime");
|
|
|
if (!string.IsNullOrEmpty(checkTimeString))
|
|
|
@@ -1493,6 +1501,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public JsonResult ExportPosDo()
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ExportPosDo");
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
List<PosMachinesTwo> poses = db.PosMachinesTwo.Where(m => m.CreditTrade < 1000 && m.BindingState == 1).ToList();
|
|
|
int total = poses.Count;
|
|
|
@@ -1581,6 +1590,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string ChangePosDo(string OldSn, string NewSn, string BackStoreNo, string OutStoreNo, string MerNo = "", int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ChangePosDo");
|
|
|
if (string.IsNullOrEmpty(OldSn))
|
|
|
{
|
|
|
return "请输入原机具SN";
|
|
|
@@ -1836,6 +1846,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string ChangeBadPosDo(string ChangeType, string MakerCode, string StoreCode, string OldSn, string NewSn, string FromStoreNo, string BackStoreNo, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ChangeBadPosDo");
|
|
|
string[] OldSnList;
|
|
|
string[] NewSnList;
|
|
|
decimal amount = 0;
|
|
|
@@ -1994,6 +2005,17 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
opData.Add(oldpos.BuyUserId + ":" + oldpos.BrandId);
|
|
|
}
|
|
|
|
|
|
+ var BeforeDeposit = 0;
|
|
|
+ if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
+ {
|
|
|
+ BeforeDeposit = 299;
|
|
|
+ if (oldpos.BrandId == 6) BeforeDeposit = 249;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ }
|
|
|
+
|
|
|
oldpos.StoreId = storeBack.Id;
|
|
|
oldpos.QueryCount = 0;
|
|
|
oldpos.UpdateDate = null;
|
|
|
@@ -2037,6 +2059,41 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
oldpos.Status = -1;
|
|
|
oldpos.FirstFlag = 0;
|
|
|
oldpos.IsExecute = 0;
|
|
|
+
|
|
|
+ //机具回仓重置服务费和费率(服务费默认为299,立刷为249 费率为0.6)
|
|
|
+ Dictionary<string, object> req = new Dictionary<string, object>();
|
|
|
+ var DepositId = "299";
|
|
|
+ req.Add("PosSnId", oldpos.Id);
|
|
|
+ req.Add("BrandId", oldpos.BrandId);
|
|
|
+ if (oldpos.BrandId == 6) DepositId = "249";
|
|
|
+ req.Add("Deposit", DepositId);
|
|
|
+ //重置服务费
|
|
|
+ RedisDbconn.Instance.AddList("ChangePosFeeQueue", Newtonsoft.Json.JsonConvert.SerializeObject(req));
|
|
|
+
|
|
|
+ //添加设置押金添加记录
|
|
|
+ PublicFunction.MerchantDepositSet(oldpos.BrandId, 0, oldpos.Id, oldpos.PosSn, BeforeDeposit, decimal.Parse(DepositId), "");
|
|
|
+
|
|
|
+ var ChangeFee = 0.60M;
|
|
|
+ var ChangeKind = 3;
|
|
|
+ var OpMan = "系统";
|
|
|
+ var posMachinesFeeChangeRecord = db.PosMachinesFeeChangeRecord.Add(new PosMachinesFeeChangeRecord()
|
|
|
+ {
|
|
|
+ CreateDate = DateTime.Now, //创建时间
|
|
|
+ SeoDescription = "系统添加-过期机具回仓重置费率",
|
|
|
+ Sort = oldpos.BrandId, //品牌Id
|
|
|
+ PosId = oldpos.Id, //机具Id
|
|
|
+ PosSn = oldpos.PosSn,
|
|
|
+ ChangeFee = ChangeFee, //调整费率
|
|
|
+ }).Entity;
|
|
|
+ db.SaveChanges();
|
|
|
+
|
|
|
+ // PosId:机具Id
|
|
|
+ // Kind:1或2,1为费率0.63+3,2为费率0.63,3为费率0.6
|
|
|
+ // OpMan:操作人,app传创客编号,后台传SysUserName
|
|
|
+ //重置费率
|
|
|
+ string infos = "{\"RecordId\":\"" + posMachinesFeeChangeRecord.Id + "\",\"PosId\":\"" + oldpos.Id + "\",\"Fee\": \"" + ChangeFee.ToString("f0").TrimEnd('0') + "\",\"Kind\": \"" + ChangeKind + "\",\"OpMan\": \"" + OpMan + "\"}";
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositQueue", infos);
|
|
|
+
|
|
|
PublicFunction.ClearPosHistory(db, oldpos.PosSn); //清除机具历史记录
|
|
|
db.SaveChanges();
|
|
|
opdb.SaveChanges();
|
|
|
@@ -2230,6 +2287,17 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ var BeforeDeposit = 0;
|
|
|
+ if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
+ {
|
|
|
+ BeforeDeposit = 299;
|
|
|
+ if (oldpos.BrandId == 6) BeforeDeposit = 249;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ }
|
|
|
+
|
|
|
oldpos.StoreId = storeBack.Id;
|
|
|
oldpos.QueryCount = 0;
|
|
|
oldpos.UpdateDate = null;
|
|
|
@@ -2273,6 +2341,41 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
oldpos.Status = -1;
|
|
|
oldpos.FirstFlag = 0;
|
|
|
oldpos.IsExecute = 0;
|
|
|
+
|
|
|
+ //机具回仓重置服务费和费率(服务费默认为299,立刷为249 费率为0.6)
|
|
|
+ Dictionary<string, object> req = new Dictionary<string, object>();
|
|
|
+ var DepositId = "299";
|
|
|
+ req.Add("PosSnId", oldpos.Id);
|
|
|
+ req.Add("BrandId", oldpos.BrandId);
|
|
|
+ if (oldpos.BrandId == 6) DepositId = "249";
|
|
|
+ req.Add("Deposit", DepositId);
|
|
|
+ //重置服务费
|
|
|
+ RedisDbconn.Instance.AddList("ChangePosFeeQueue", Newtonsoft.Json.JsonConvert.SerializeObject(req));
|
|
|
+
|
|
|
+ //添加设置押金添加记录
|
|
|
+ PublicFunction.MerchantDepositSet(oldpos.BrandId, 0, oldpos.Id, oldpos.PosSn, BeforeDeposit, decimal.Parse(DepositId), "");
|
|
|
+
|
|
|
+ var ChangeFee = 0.60M;
|
|
|
+ var ChangeKind = 3;
|
|
|
+ var OpMan = "系统";
|
|
|
+ var posMachinesFeeChangeRecord = db.PosMachinesFeeChangeRecord.Add(new PosMachinesFeeChangeRecord()
|
|
|
+ {
|
|
|
+ CreateDate = DateTime.Now, //创建时间
|
|
|
+ SeoDescription = "系统添加-过期机具回仓重置费率",
|
|
|
+ Sort = oldpos.BrandId, //品牌Id
|
|
|
+ PosId = oldpos.Id, //机具Id
|
|
|
+ PosSn = oldpos.PosSn,
|
|
|
+ ChangeFee = ChangeFee, //调整费率
|
|
|
+ }).Entity;
|
|
|
+ db.SaveChanges();
|
|
|
+
|
|
|
+ // PosId:机具Id
|
|
|
+ // Kind:1或2,1为费率0.63+3,2为费率0.63,3为费率0.6
|
|
|
+ // OpMan:操作人,app传创客编号,后台传SysUserName
|
|
|
+ //重置费率
|
|
|
+ string infos = "{\"RecordId\":\"" + posMachinesFeeChangeRecord.Id + "\",\"PosId\":\"" + oldpos.Id + "\",\"Fee\": \"" + ChangeFee.ToString("f0").TrimEnd('0') + "\",\"Kind\": \"" + ChangeKind + "\",\"OpMan\": \"" + OpMan + "\"}";
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositQueue", infos);
|
|
|
+
|
|
|
PublicFunction.ClearPosHistory(db, oldpos.PosSn); //清除机具历史记录
|
|
|
db.SaveChanges();
|
|
|
opdb.SaveChanges();
|
|
|
@@ -2341,6 +2444,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string ChangePosCrossBrandDo(string MakerCode, string OldSn, string BackStoreNo, string NewSn, string FromStoreNo, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ChangePosCrossBrandDo");
|
|
|
string[] OldSnList;
|
|
|
string[] NewSnList;
|
|
|
decimal amount = 0;
|
|
|
@@ -2558,6 +2662,17 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
opData.Add(oldpos.BuyUserId + ":" + oldpos.BrandId);
|
|
|
}
|
|
|
|
|
|
+ var BeforeDeposit = 0;
|
|
|
+ if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
+ {
|
|
|
+ BeforeDeposit = 299;
|
|
|
+ if (oldpos.BrandId == 6) BeforeDeposit = 249;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ }
|
|
|
+
|
|
|
oldpos.StoreId = storeBack.Id;
|
|
|
oldpos.QueryCount = 0;
|
|
|
oldpos.UpdateDate = null;
|
|
|
@@ -2601,6 +2716,40 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
oldpos.FirstFlag = 0;
|
|
|
oldpos.IsExecute = 0;
|
|
|
|
|
|
+ //机具回仓重置服务费和费率(服务费默认为299,立刷为249 费率为0.6)
|
|
|
+ Dictionary<string, object> req = new Dictionary<string, object>();
|
|
|
+ var DepositId = "299";
|
|
|
+ req.Add("PosSnId", oldpos.Id);
|
|
|
+ req.Add("BrandId", oldpos.BrandId);
|
|
|
+ if (oldpos.BrandId == 6) DepositId = "249";
|
|
|
+ req.Add("Deposit", DepositId);
|
|
|
+ //重置服务费
|
|
|
+ RedisDbconn.Instance.AddList("ChangePosFeeQueue", Newtonsoft.Json.JsonConvert.SerializeObject(req));
|
|
|
+
|
|
|
+ //添加设置押金添加记录
|
|
|
+ PublicFunction.MerchantDepositSet(oldpos.BrandId, 0, oldpos.Id, oldpos.PosSn, BeforeDeposit, decimal.Parse(DepositId), "");
|
|
|
+
|
|
|
+ var ChangeFee = 0.60M;
|
|
|
+ var ChangeKind = 3;
|
|
|
+ var OpMan = "系统";
|
|
|
+ var posMachinesFeeChangeRecord = db.PosMachinesFeeChangeRecord.Add(new PosMachinesFeeChangeRecord()
|
|
|
+ {
|
|
|
+ CreateDate = DateTime.Now, //创建时间
|
|
|
+ SeoDescription = "系统添加-过期机具回仓重置费率",
|
|
|
+ Sort = oldpos.BrandId, //品牌Id
|
|
|
+ PosId = oldpos.Id, //机具Id
|
|
|
+ PosSn = oldpos.PosSn,
|
|
|
+ ChangeFee = ChangeFee, //调整费率
|
|
|
+ }).Entity;
|
|
|
+ db.SaveChanges();
|
|
|
+
|
|
|
+ // PosId:机具Id
|
|
|
+ // Kind:1或2,1为费率0.63+3,2为费率0.63,3为费率0.6
|
|
|
+ // OpMan:操作人,app传创客编号,后台传SysUserName
|
|
|
+ //重置费率
|
|
|
+ string infos = "{\"RecordId\":\"" + posMachinesFeeChangeRecord.Id + "\",\"PosId\":\"" + oldpos.Id + "\",\"Fee\": \"" + ChangeFee.ToString("f0").TrimEnd('0') + "\",\"Kind\": \"" + ChangeKind + "\",\"OpMan\": \"" + OpMan + "\"}";
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositQueue", infos);
|
|
|
+
|
|
|
PublicFunction.ClearPosHistory(db, oldpos.PosSn); //清除机具历史记录
|
|
|
db.SaveChanges();
|
|
|
opdb.SaveChanges();
|
|
|
@@ -2644,6 +2793,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string UnbindDo(string PosSn, string MakerCode, string MerNo, int IsSend = 0)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn + "MakerCode:" + MakerCode + "MerNo:" + MerNo, "SysTools", "UnbindDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -2798,6 +2948,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string ChangeSignQuanDo(string Coupons, string MakerCode)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ChangeSignQuanDo");
|
|
|
if (string.IsNullOrEmpty(Coupons))
|
|
|
{
|
|
|
return "请输入机具券码,多个券码用回车分隔";
|
|
|
@@ -2843,6 +2994,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string ChangeSignSnDo(string PosSn, string MakerCode)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ChangeSignSnDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN,多个SN用回车分隔";
|
|
|
@@ -2902,6 +3054,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
public IActionResult LoopData(string SwapSnExpand, string SnNos, int page = 1, int limit = 30)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "LoopData");
|
|
|
Dictionary<string, string> Fields = new Dictionary<string, string>();
|
|
|
Fields.Add("SwapSnExpand", "1"); //申请机具SN
|
|
|
Fields.Add("SnNos", "1"); //发货机具SN
|
|
|
@@ -3036,6 +3189,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
public string SourceLoopData(string SnNo, int page = 1, int limit = 30)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "SourceLoopData");
|
|
|
var result = "";
|
|
|
var machineForSnNo = db.MachineForSnNo.FirstOrDefault(m => m.SnNo == SnNo) ?? new MachineForSnNo();
|
|
|
var pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == machineForSnNo.SnId) ?? new PosMachinesTwo();
|
|
|
@@ -3071,6 +3225,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public Dictionary<string, string> Prize100Do(string MakerCode)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode, "SysTools", "Prize100Do");
|
|
|
Dictionary<string, string> dic = new Dictionary<string, string>();
|
|
|
string result = "";
|
|
|
UserForMakerCode forMakerCode = db.UserForMakerCode.FirstOrDefault(m => m.MakerCode == MakerCode);
|
|
|
@@ -3148,6 +3303,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
public string AddPrize100(int Id)
|
|
|
{
|
|
|
+ AddSysLog(Id, "SysTools", "AddPrize100");
|
|
|
Orders order = db.Orders.FirstOrDefault(m => m.Id == Id);
|
|
|
if (order != null)
|
|
|
{
|
|
|
@@ -3192,6 +3348,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
public void DirectPrize(WebCMSEntities db, int OrderId, int UserId, int Count = 1)
|
|
|
{
|
|
|
+ AddSysLog("OrderId:" + OrderId + "UserId:" + UserId, "SysTools", "DirectPrize");
|
|
|
UserAccount account = db.UserAccount.FirstOrDefault(m => m.Id == UserId);
|
|
|
if (account == null)
|
|
|
{
|
|
|
@@ -3243,6 +3400,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public Dictionary<string, string> OpenPrizeDo(string PosSn)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn, "SysTools", "OpenPrizeDo");
|
|
|
Dictionary<string, string> dic = new Dictionary<string, string>();
|
|
|
string result = "";
|
|
|
PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == PosSn);
|
|
|
@@ -3302,6 +3460,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
public string AddOpenPrize(int Id)
|
|
|
{
|
|
|
+ AddSysLog(Id, "SysTools", "AddOpenPrize");
|
|
|
PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == Id && m.ActivationState == 1);
|
|
|
if (pos == null)
|
|
|
{
|
|
|
@@ -3330,7 +3489,14 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
Users user = db.Users.FirstOrDefault(m => m.Id == pos.BuyUserId);
|
|
|
if (user != null)
|
|
|
{
|
|
|
- RedisDbconn.Instance.AddList("OpenRewardQueue", Id.ToString());
|
|
|
+ if (pos.IsFirst == 1 && pos.ActivationState == 1 && pos.BindingTime.Value.AddDays(30) <= DateTime.Now && pos.BindingTime.Value.AddDays(60) > DateTime.Now && pos.CreditTrade >= 10000 && pos.CardType < 100)
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("LeaderRewardQueue", pos.Id.ToString());
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return "操作失败" + pos.PosSn + ',' + "不满足发放条件首台绑定30天到60天交易超过10000元内非营训机" + '\n';
|
|
|
+ }
|
|
|
return "操作成功,请稍后查询";
|
|
|
}
|
|
|
db.Dispose();
|
|
|
@@ -3352,6 +3518,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public Dictionary<string, string> FluxPrizeDo(string PosSn)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn, "SysTools", "FluxPrizeDo");
|
|
|
Dictionary<string, string> dic = new Dictionary<string, string>();
|
|
|
string result = "";
|
|
|
PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == PosSn);
|
|
|
@@ -3406,6 +3573,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
public string AddFluxPrize(int Id)
|
|
|
{
|
|
|
+ AddSysLog(Id, "SysTools", "AddFluxPrize");
|
|
|
PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == Id && m.ActivationState == 1);
|
|
|
if (pos == null)
|
|
|
{
|
|
|
@@ -3597,6 +3765,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string LisFeeDo(string PosSns, decimal Fee, string Kind, string Fix)
|
|
|
{
|
|
|
+ AddSysLog("PosSns:" + PosSns, "SysTools", "LisFeeDo");
|
|
|
if (string.IsNullOrEmpty(PosSns))
|
|
|
{
|
|
|
return "请输入机具号";
|
|
|
@@ -3649,6 +3818,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
// 设置费率
|
|
|
public string SetLiSFee(string sn, decimal serviceFee)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + sn + "serviceFee:" + serviceFee, "SysTools", "SetLiSFee");
|
|
|
Dictionary<string, object> dic = new Dictionary<string, object>();
|
|
|
dic.Add("agentId", LiSAgentId);
|
|
|
dic.Add("deviceSn", sn);
|
|
|
@@ -3671,6 +3841,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
// 设置押金
|
|
|
public string SetLiSDeposit(string sn, int serviceFee)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + sn + "serviceFee:" + serviceFee, "SysTools", "SetLiSDeposit");
|
|
|
serviceFee = serviceFee * 100;
|
|
|
Dictionary<string, object> dic = new Dictionary<string, object>();
|
|
|
dic.Add("agentId", LiSAgentId);
|
|
|
@@ -3772,6 +3943,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string CheckThreeElementsDo(string bankcard, string idcard, string name)
|
|
|
{
|
|
|
+ AddSysLog("bankcard:" + bankcard + "idcard:" + idcard + "name:" + name, "SysTools", "CheckThreeElementsDo");
|
|
|
var host = "https://bankcard3c.shumaidata.com";
|
|
|
var path = "/bankcard3c";
|
|
|
var method = "GET";
|
|
|
@@ -3855,6 +4027,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string CheckFourElementsDo(string bankcard, string idcard, string mobile, string name)
|
|
|
{
|
|
|
+ AddSysLog("bankcard:" + bankcard + "idcard:" + idcard + "name:" + name + "mobile:" + mobile, "SysTools", "CheckFourElementsDo");
|
|
|
var host = "https://bankcard4c.shumaidata.com";
|
|
|
var path = "/bankcard4c";
|
|
|
var method = "GET";
|
|
|
@@ -3950,6 +4123,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
public string SyncMerchantStatusDo(string PosSn)
|
|
|
{
|
|
|
|
|
|
+ AddSysLog("PosSn:" + PosSn, "SysTools", "SyncMerchantStatusDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具号";
|
|
|
@@ -3994,6 +4168,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string PosRewardReissuedDo(string PosSn)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn, "SysTools", "PosRewardReissuedDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -4014,7 +4189,14 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
if (posInfo.Id > 0)
|
|
|
{
|
|
|
- RedisDbconn.Instance.AddList("OpenRewardQueue", posInfo.Id.ToString());
|
|
|
+ if (posInfo.IsFirst == 1 && posInfo.ActivationState == 1 && posInfo.BindingTime.Value.AddDays(30) <= DateTime.Now && posInfo.BindingTime.Value.AddDays(60) > DateTime.Now && posInfo.CreditTrade >= 10000 && posInfo.CardType < 100)
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("LeaderRewardQueue", posInfo.Id.ToString());
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return "操作失败" + posInfo.PosSn + ',' + "不满足发放条件首台绑定30天到60天交易超过10000元内非营训机" + '\n';
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -4044,6 +4226,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string SetPosFeeDo(string PosSn, int FeeType, int RecordFlag = 0)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn + "FeeType:" + FeeType + "RecordFlag:" + RecordFlag, "SysTools", "SetPosFeeDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -4117,6 +4300,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string RelationPosAndMerchantDo(string PosSn, string MerchantNo, string MerchantName)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn + "MerchantNo:" + MerchantNo + "MerchantName:" + MerchantName, "SysTools", "RelationPosAndMerchantDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -4166,6 +4350,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string SetMerchantInfoDo(string PosSn, string MerchantNo, string MerchantName, string MerIdcardNo, string MerchantMobile)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn + "MerchantNo:" + MerchantNo + "MerchantName:" + MerchantName + "MerIdcardNo:" + MerIdcardNo + "MerchantMobile:" + MerchantMobile, "SysTools", "SetMerchantInfoDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -4222,6 +4407,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string AuthMakerDo(string MakerCode, string RealName, string CertId, string BackCard, string BackName)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode + "RealName:" + RealName + "CertId:" + CertId + "BackName:" + BackName, "SysTools", "AuthMakerDo");
|
|
|
if (string.IsNullOrEmpty(MakerCode))
|
|
|
{
|
|
|
return "请输入创客编号";
|
|
|
@@ -4348,6 +4534,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
public string TransferPosDo(string PosSn, string FromMakerCode, string ToMakerCode)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn + "FromMakerCode:" + FromMakerCode + "ToMakerCode:" + ToMakerCode, "SysTools", "TransferPosDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -4480,6 +4667,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string RestoreStatusDo(string OrderNo)
|
|
|
{
|
|
|
+ AddSysLog("OrderNo:" + OrderNo, "SysTools", "RestoreStatusDo");
|
|
|
if (string.IsNullOrEmpty(OrderNo))
|
|
|
{
|
|
|
return "请输入提现订单编号";
|
|
|
@@ -4521,6 +4709,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string SeeUserLoopDo(string MakerCode)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode, "SysTools", "SeeUserLoopDo");
|
|
|
var userForMakerCode = db.UserForMakerCode.FirstOrDefault(m => m.MakerCode == MakerCode) ?? new UserForMakerCode();
|
|
|
var user = db.Users.FirstOrDefault(m => m.Id == userForMakerCode.UserId) ?? new Users();
|
|
|
var pos = db.PosMachinesTwo.Where(m => m.Status > -1 && m.BuyUserId == user.Id).ToList();
|
|
|
@@ -4558,6 +4747,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
public string CashWithoutUserDo(string Content)
|
|
|
{
|
|
|
+ AddSysLog("Content:" + Content, "SysTools", "CashWithoutUserDo");
|
|
|
CustomTagSet set = db.CustomTagSet.FirstOrDefault(m => m.Tags == "CashWithoutUser");
|
|
|
if (set == null)
|
|
|
{
|
|
|
@@ -4589,6 +4779,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string BadPosToStoreDo(string OldSn)
|
|
|
{
|
|
|
+ AddSysLog("OldSn:" + OldSn, "SysTools", "BadPosToStoreDo");
|
|
|
string[] OldSnList;
|
|
|
OldSnList = OldSn.Replace("\r", "").Split('\n');
|
|
|
string error = "";
|
|
|
@@ -4602,6 +4793,18 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
opData.Add(oldpos.BuyUserId + ":" + oldpos.BrandId);
|
|
|
}
|
|
|
+
|
|
|
+ var BeforeDeposit = 0;
|
|
|
+ if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
+ {
|
|
|
+ BeforeDeposit = 299;
|
|
|
+ if (oldpos.BrandId == 6) BeforeDeposit = 249;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ }
|
|
|
+
|
|
|
oldpos.Status = 1;
|
|
|
oldpos.PosSnType = 0;
|
|
|
oldpos.QueryCount = 0;
|
|
|
@@ -4645,6 +4848,41 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
oldpos.UserId = 0;
|
|
|
oldpos.FirstFlag = 0;
|
|
|
oldpos.IsExecute = 0;
|
|
|
+
|
|
|
+ //机具回仓重置服务费和费率(服务费默认为299,立刷为249 费率为0.6)
|
|
|
+ Dictionary<string, object> req = new Dictionary<string, object>();
|
|
|
+ var DepositId = "299";
|
|
|
+ req.Add("PosSnId", oldpos.Id);
|
|
|
+ req.Add("BrandId", oldpos.BrandId);
|
|
|
+ if (oldpos.BrandId == 6) DepositId = "249";
|
|
|
+ req.Add("Deposit", DepositId);
|
|
|
+ //重置服务费
|
|
|
+ RedisDbconn.Instance.AddList("ChangePosFeeQueue", Newtonsoft.Json.JsonConvert.SerializeObject(req));
|
|
|
+
|
|
|
+ //添加设置押金添加记录
|
|
|
+ PublicFunction.MerchantDepositSet(oldpos.BrandId, 0, oldpos.Id, oldpos.PosSn, BeforeDeposit, decimal.Parse(DepositId), "");
|
|
|
+
|
|
|
+ var ChangeFee = 0.60M;
|
|
|
+ var ChangeKind = 3;
|
|
|
+ var OpMan = "系统";
|
|
|
+ var posMachinesFeeChangeRecord = db.PosMachinesFeeChangeRecord.Add(new PosMachinesFeeChangeRecord()
|
|
|
+ {
|
|
|
+ CreateDate = DateTime.Now, //创建时间
|
|
|
+ SeoDescription = "系统添加-过期机具回仓重置费率",
|
|
|
+ Sort = oldpos.BrandId, //品牌Id
|
|
|
+ PosId = oldpos.Id, //机具Id
|
|
|
+ PosSn = oldpos.PosSn,
|
|
|
+ ChangeFee = ChangeFee, //调整费率
|
|
|
+ }).Entity;
|
|
|
+ db.SaveChanges();
|
|
|
+
|
|
|
+ // PosId:机具Id
|
|
|
+ // Kind:1或2,1为费率0.63+3,2为费率0.63,3为费率0.6
|
|
|
+ // OpMan:操作人,app传创客编号,后台传SysUserName
|
|
|
+ //重置费率
|
|
|
+ string infos = "{\"RecordId\":\"" + posMachinesFeeChangeRecord.Id + "\",\"PosId\":\"" + oldpos.Id + "\",\"Fee\": \"" + ChangeFee.ToString("f0").TrimEnd('0') + "\",\"Kind\": \"" + ChangeKind + "\",\"OpMan\": \"" + OpMan + "\"}";
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositQueue", infos);
|
|
|
+
|
|
|
PublicFunction.ClearPosHistory(db, oldpos.PosSn); //清除机具历史记录
|
|
|
}
|
|
|
if (!string.IsNullOrEmpty(error))
|
|
|
@@ -4673,6 +4911,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
public string TransferPosCouponDo(string Kind, string PosCouponCodes, string FromMakerCode, string ToMakerCode, string LeaderMakerCode = "")
|
|
|
{
|
|
|
+ AddSysLog("Kind:" + Kind + "PosCouponCodes:" + PosCouponCodes + "FromMakerCode:" + FromMakerCode + "ToMakerCode:" + ToMakerCode + "LeaderMakerCode:" + LeaderMakerCode, "SysTools", "TransferPosCouponDo");
|
|
|
if (string.IsNullOrEmpty(Kind))
|
|
|
{
|
|
|
return "请选择划拨的券类型";
|
|
|
@@ -4806,6 +5045,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string RefundPosFeeDo(string PosSn, string BackStoreNo, int IsBack = 0)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn + "BackStoreNo:" + BackStoreNo + "IsBack:" + IsBack, "SysTools", "RefundPosFeeDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -4971,6 +5211,17 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
opData.Add(pos.BuyUserId + ":" + pos.BrandId);
|
|
|
}
|
|
|
|
|
|
+ var BeforeDeposit = 0;
|
|
|
+ if (string.IsNullOrEmpty(pos.PrizeParams))
|
|
|
+ {
|
|
|
+ BeforeDeposit = 299;
|
|
|
+ if (pos.BrandId == 6) BeforeDeposit = 249;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ }
|
|
|
+
|
|
|
pos.StoreId = BackStore.Id;//变更机具所属仓库,重置为仓库机
|
|
|
pos.Status = 1;
|
|
|
pos.QueryCount = 0;
|
|
|
@@ -5014,6 +5265,41 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
pos.UserId = 0;
|
|
|
pos.FirstFlag = 0;
|
|
|
pos.IsExecute = 0;
|
|
|
+
|
|
|
+ //机具回仓重置服务费和费率(服务费默认为299,立刷为249 费率为0.6)
|
|
|
+ Dictionary<string, object> req = new Dictionary<string, object>();
|
|
|
+ var DepositId = "299";
|
|
|
+ req.Add("PosSnId", pos.Id);
|
|
|
+ req.Add("BrandId", pos.BrandId);
|
|
|
+ if (pos.BrandId == 6) DepositId = "249";
|
|
|
+ req.Add("Deposit", DepositId);
|
|
|
+ //重置服务费
|
|
|
+ RedisDbconn.Instance.AddList("ChangePosFeeQueue", Newtonsoft.Json.JsonConvert.SerializeObject(req));
|
|
|
+
|
|
|
+ //添加设置押金添加记录
|
|
|
+ PublicFunction.MerchantDepositSet(pos.BrandId, 0, pos.Id, pos.PosSn, BeforeDeposit, decimal.Parse(DepositId), "");
|
|
|
+
|
|
|
+ var ChangeFee = 0.60M;
|
|
|
+ var ChangeKind = 3;
|
|
|
+ var OpMan = "系统";
|
|
|
+ var posMachinesFeeChangeRecord = db.PosMachinesFeeChangeRecord.Add(new PosMachinesFeeChangeRecord()
|
|
|
+ {
|
|
|
+ CreateDate = DateTime.Now, //创建时间
|
|
|
+ SeoDescription = "系统添加-过期机具回仓重置费率",
|
|
|
+ Sort = pos.BrandId, //品牌Id
|
|
|
+ PosId = pos.Id, //机具Id
|
|
|
+ PosSn = pos.PosSn,
|
|
|
+ ChangeFee = ChangeFee, //调整费率
|
|
|
+ }).Entity;
|
|
|
+ db.SaveChanges();
|
|
|
+
|
|
|
+ // PosId:机具Id
|
|
|
+ // Kind:1或2,1为费率0.63+3,2为费率0.63,3为费率0.6
|
|
|
+ // OpMan:操作人,app传创客编号,后台传SysUserName
|
|
|
+ //重置费率
|
|
|
+ string infos = "{\"RecordId\":\"" + posMachinesFeeChangeRecord.Id + "\",\"PosId\":\"" + pos.Id + "\",\"Fee\": \"" + ChangeFee.ToString("f0").TrimEnd('0') + "\",\"Kind\": \"" + ChangeKind + "\",\"OpMan\": \"" + OpMan + "\"}";
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositQueue", infos);
|
|
|
+
|
|
|
PublicFunction.ClearPosHistory(db, pos.PosSn); //清除机具历史记录
|
|
|
}
|
|
|
else
|
|
|
@@ -5077,6 +5363,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string AddMerchantnfoDo(string PosSn, string MerSn)
|
|
|
{
|
|
|
+ AddSysLog("PosSn+:" + PosSn + "MerSn:" + MerSn, "SysTools", "AddMerchantnfoDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具号";
|
|
|
@@ -5154,6 +5441,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string SeeMerchantTradeDetailDo(string PosSn)
|
|
|
{
|
|
|
+ AddSysLog("PosSn:" + PosSn, "SysTools", "SeeMerchantTradeDetailDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|
|
|
@@ -5411,6 +5699,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string RestoreUserInfoDo(string MakerCode)
|
|
|
{
|
|
|
+ AddSysLog("MakerCode:" + MakerCode, "SysTools", "RestoreUserInfoDo");
|
|
|
var user = db.Users.FirstOrDefault(m => m.Status == -1 && m.MakerCode == MakerCode) ?? new Users();
|
|
|
if (user.Id == 0)
|
|
|
{
|
|
|
@@ -5460,6 +5749,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string QrCodeEncryptionDo(string SnNos)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "QrCodeEncryptionDo");
|
|
|
string[] SnNo = SnNos.Replace("\r", "").Replace("\n", ",").Split(',');
|
|
|
string code = "";
|
|
|
string sn = "";
|
|
|
@@ -5486,6 +5776,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string QrCodeDescryptionDo(string SnNos)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "QrCodeDescryptionDo");
|
|
|
string[] SnNo = SnNos.Replace("\r", "").Replace("\n", ",").Split(',');
|
|
|
string code = "";
|
|
|
string sn = "";
|
|
|
@@ -5520,6 +5811,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
public string SeeUserLevel4InfoDo(string MakerCode, string MakerCodes)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "SeeUserLevel4InfoDo");
|
|
|
var user = db.Users.FirstOrDefault(m => m.MakerCode == MakerCode) ?? new Users();
|
|
|
string[] SnNo = MakerCodes.Replace("\r", "").Replace("\n", ",").Split(',');
|
|
|
string code = "";
|
|
|
@@ -5552,6 +5844,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
#region 直营团队数据
|
|
|
public JsonResult Team1InfoDo(string MakerCode, string BindingTime, string ActivationTime, string PosFeeSelect, string BrandId, int page = 1, int limit = 30)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "Team1InfoDo");
|
|
|
string conn = Library.ConfigurationManager.AppSettings["SqlConnStr"].ToString();
|
|
|
List<Dictionary<string, object>> dataList = new List<Dictionary<string, object>>();
|
|
|
string condition = " where 1=1";
|
|
|
@@ -5690,6 +5983,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
var FileName = MakerCode + RealName + "直营团队数据记录" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
string SendData = "{\"Operater\":\"" + sysAdmin.Id + "\",\"SqlString\":\"" + Sql + "\",\"FileName\":\"" + FileName + "\",\"MaxCount\":\"0\"}";
|
|
|
RedisDbconn.Instance.AddList("ExportQueue", SendData);
|
|
|
+ AddSysLog("0", "SysTools", "ExportTeam1InfoExcelDo");
|
|
|
return "success";
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -5708,6 +6002,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
[HttpPost]
|
|
|
public string ChangePosFeeDo(string PosSn, string BrandId, string Deposit)
|
|
|
{
|
|
|
+ AddSysLog("0", "SysTools", "ChangePosFeeDo");
|
|
|
if (string.IsNullOrEmpty(PosSn))
|
|
|
{
|
|
|
return "请输入机具SN";
|