|
@@ -110,9 +110,10 @@ namespace MySystem
|
|
|
SaveToDb(dataContent, encryptContent, dataType, res);
|
|
|
return;
|
|
|
}
|
|
|
+ SaveToDb(dataContent, encryptContent, dataType, res, 1);
|
|
|
}
|
|
|
|
|
|
- public void SaveToDb(string content, string encryptContent, string dataType, string backContent)
|
|
|
+ public void SaveToDb(string content, string encryptContent, string dataType, string backContent, int status = 0)
|
|
|
{
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
db.PushPosRecord.Add(new PushPosRecord()
|
|
@@ -122,6 +123,7 @@ namespace MySystem
|
|
|
DataType = dataType,
|
|
|
EncryptContent = encryptContent,
|
|
|
BackContent = backContent,
|
|
|
+ Status = status,
|
|
|
});
|
|
|
db.SaveChanges();
|
|
|
db.Dispose();
|