|
@@ -1,6 +1,7 @@
|
|
|
using dodohold.core;
|
|
using dodohold.core;
|
|
|
using CSRedis;
|
|
using CSRedis;
|
|
|
using System.Data;
|
|
using System.Data;
|
|
|
|
|
+using static dodohold.core.ZTOExpress.CreateOrderArgs;
|
|
|
|
|
|
|
|
namespace molilian.core
|
|
namespace molilian.core
|
|
|
{
|
|
{
|
|
@@ -139,13 +140,16 @@ namespace molilian.core
|
|
|
//public DateTime create_time { get; set; } = DateTime.Now;
|
|
//public DateTime create_time { get; set; } = DateTime.Now;
|
|
|
//public string end_point { get; set; } = string.Empty;
|
|
//public string end_point { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
+ string content = data.content;
|
|
|
|
|
+ if (content.Length > 20000) content = $"{content[..20000]}...";
|
|
|
|
|
+
|
|
|
return new DBContext.Table(connection, tablename)
|
|
return new DBContext.Table(connection, tablename)
|
|
|
.Add("end_point", data.end_point)
|
|
.Add("end_point", data.end_point)
|
|
|
.Add("channel_name", data.channel_name)
|
|
.Add("channel_name", data.channel_name)
|
|
|
.Add("success", data.success)
|
|
.Add("success", data.success)
|
|
|
.Add("message", data.message)
|
|
.Add("message", data.message)
|
|
|
.Add("reason", data.reason)
|
|
.Add("reason", data.reason)
|
|
|
- .Add("content", data.content)
|
|
|
|
|
|
|
+ .Add("content", content)
|
|
|
.Add("ip", data.ip)
|
|
.Add("ip", data.ip)
|
|
|
.Add("oaid", data.oaid)
|
|
.Add("oaid", data.oaid)
|
|
|
.Add("deeplink_url", data.deeplink_url)
|
|
.Add("deeplink_url", data.deeplink_url)
|