jit制造商报错问题修复 temu已报名直通车商品查询优化 jit数据库商品查询全部商品bug修复 jit订单数据库逻辑优化 拼多多上传加入直通车等待时间延长 其他部分优化

This commit is contained in:
wule committed 2025-12-08 17:35:51 +08:00
1 parent 85d0c2d86a
commit 4dde0936ed
24 files changed
+1905 -585

No files matched your search

@@ -397,8 +397,6 @@ namespace KJD_Web.BLL
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
public string ChangePassword(string inputData)
{
var userName = RegexUtils.GetStringJson(ref inputData, "user_name")?.Replace("'", "\\'");
@@ -436,6 +434,37 @@ namespace KJD_Web.BLL
}
}
public string GetUserAmount(string inputData)
{
if (!string.IsNullOrEmpty(inputData))
{
var time = 0;
int.TryParse(RegexUtils.GetStringQuery(ref inputData, "time"), out time);
string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name")?.Replace("'", "\\'");
if (string.IsNullOrEmpty(user_name))
{
return "{\"code\":500,\"msg\":\"请输入用户\"}";
}
var password = RegexUtils.GetStringQuery(ref inputData, "password")?.Replace("'", "\\'");
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
string sql = "select authorized_amount from kjd.user where user_name=" + user_name;
var rst = mySql.ExecuteFirst(sql);
mySql.Close();
if (!string.IsNullOrEmpty(rst))
{
return "{\"code\":200,\"msg\":\"success\",\"data\":" + rst + "}";
}
}
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
public string return_package_secret_key { get; set; } = "aaMETt2bPe6YHzZ1ojbC+6wOvgtwehqc6A+/Rz+pCUU=";
public string GetPackageSign(string inputData)