微信商品图片无法显示/上传问题优化(30%)
This commit is contained in:
1 parent
b7241236ca
commit
1aa0954e43
7 files changed
+175
-34
No files matched your search
@@ -2137,6 +2137,12 @@ namespace KJD_Web.BLL.WXXD
|
||||
return_order_status = row["return_order_status"].ParseToNullableInt(),
|
||||
sender_info = row["sender_info"].ParseToNullableString(),
|
||||
sender_name = row["sender_name"].ParseToNullableString(),
|
||||
sender_phone = row["sender_phone"].ParseToNullableString(),
|
||||
shop_name = row["shop_name"].ParseToNullableString(),
|
||||
updated_at = row["updated_at"].ParseToString().ParseToDateTime(),
|
||||
warehouse_in_time = row["warehouse_in_time"].ParseToString().ParseToDateTime(),
|
||||
warehouse_out_time = row["warehouse_out_time"].ParseToString().ParseToDateTime(),
|
||||
warehouse_status = row["warehouse_status"].ParseToNullableInt(),
|
||||
};
|
||||
orderList.Add(order);
|
||||
}
|
||||
|
||||
@@ -379,14 +379,18 @@ namespace KJD_Web.BLL.WXXD
|
||||
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
|
||||
MysqlUtils mySql = new MysqlUtils(conn);
|
||||
string sql = "delete from wxxd.user where id='"
|
||||
+ id + "'";
|
||||
+ id + "' and balance=0";
|
||||
|
||||
var rst = mySql.ExecuteNonQuery(sql);
|
||||
var rst = mySql.ExecuteAffectedRows(sql);
|
||||
mySql.Close();
|
||||
if (rst)
|
||||
if (rst > 0)
|
||||
{
|
||||
return "{\"code\":200,\"msg\":\"success\"}";
|
||||
}
|
||||
if (rst == 0)
|
||||
{
|
||||
return "{\"code\":500,\"msg\":\"删除失败,请检查账户拍单余额是否还有剩余\"}";
|
||||
}
|
||||
else
|
||||
return "{\"code\":500,\"msg\":\"删除失败,请稍后重试\"}";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user