|
|
@@ -178,5 +178,24 @@ namespace MySystem.Controllers
|
|
|
return "ok";
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ public string setlee()
|
|
|
+ {
|
|
|
+ WebCMSEntities db = new WebCMSEntities();
|
|
|
+ List<string> poslist = new List<string>();
|
|
|
+ poslist.Add("00003102722201179816714");
|
|
|
+ foreach(string PosSn in poslist)
|
|
|
+ {
|
|
|
+ PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == PosSn);
|
|
|
+ if(pos != null)
|
|
|
+ {
|
|
|
+ string info = "{\"RecordId\":\"\",\"PosId\":\"" + pos.Id + "\",\"Fee\": \"0.6\",\"Kind\": \"2\",\"OpMan\": \"系统\"}";
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositPostQueue", info);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ db.Dispose();
|
|
|
+ return "ok";
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|