|
|
@@ -19,11 +19,9 @@ namespace MySystem
|
|
|
public class PublicChangePosFee
|
|
|
{
|
|
|
public WebCMSEntities db = new WebCMSEntities();
|
|
|
- public BsModels.WebCMSEntities bsdb = new BsModels.WebCMSEntities();
|
|
|
- public OpModels.WebCMSEntities opdb = new OpModels.WebCMSEntities();
|
|
|
|
|
|
#region 金控-设置押金
|
|
|
- public string SetJKDeposit(string SnIds, string DepositId)
|
|
|
+ public string SetJKDeposit(string SnIds)
|
|
|
{
|
|
|
string check = RedisDbconn.Instance.Get<string>("SetJKPosDepositWait:" + SnIds);
|
|
|
if (!string.IsNullOrEmpty(check))
|
|
|
@@ -42,8 +40,8 @@ namespace MySystem
|
|
|
{
|
|
|
return "机具" + pos.PosSn + "已设置押金,请勿重复设置";
|
|
|
}
|
|
|
- function.WriteLog(DateTime.Now.ToString() + ":请求参数," + pos.PosSn + ":" + "199", "金控-设置押金-返回报文");
|
|
|
- string content = function.GetWebRequest("http://sp.kexiaoshuang.com/api/test/SetDeposit?sn=" + pos.PosSn + "&num=" + "199");
|
|
|
+ function.WriteLog(DateTime.Now.ToString() + ":请求参数," + pos.PosSn + ":" + "299", "金控-设置押金-返回报文");
|
|
|
+ string content = function.GetWebRequest("http://sp.kexiaoshuang.com/api/test/SetDeposit?sn=" + pos.PosSn + "&num=" + "299");
|
|
|
function.WriteLog(DateTime.Now.ToString() + "\n" + content, "金控-设置押金-返回报文");
|
|
|
if (content == "fail")
|
|
|
{
|
|
|
@@ -65,14 +63,7 @@ namespace MySystem
|
|
|
var BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(pos.PrizeParams))
|
|
|
{
|
|
|
- if (RelationClass.GetKqProductBrandInfo(pos.BrandId) == "立刷云电签")
|
|
|
- {
|
|
|
- BeforeDeposit = 249;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- BeforeDeposit = 299;
|
|
|
- }
|
|
|
+ BeforeDeposit = 299;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -119,14 +110,7 @@ namespace MySystem
|
|
|
var BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(pos.PrizeParams))
|
|
|
{
|
|
|
- if (RelationClass.GetKqProductBrandInfo(pos.BrandId) == "立刷云电签")
|
|
|
- {
|
|
|
- BeforeDeposit = 249;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- BeforeDeposit = 299;
|
|
|
- }
|
|
|
+ BeforeDeposit = 299;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -198,14 +182,7 @@ namespace MySystem
|
|
|
var BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(pos.PrizeParams))
|
|
|
{
|
|
|
- if (RelationClass.GetKqProductBrandInfo(pos.BrandId) == "立刷云电签")
|
|
|
- {
|
|
|
- BeforeDeposit = 249;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- BeforeDeposit = 299;
|
|
|
- }
|
|
|
+ BeforeDeposit = 299;
|
|
|
}
|
|
|
else
|
|
|
{
|