平台禁售商品设置
This commit is contained in:
1 parent
9a47ecf102
commit
b5ae0fc2f2
11 files changed
+604
-123
No files matched your search
@@ -804,15 +804,15 @@ namespace KJD_Web.BLL.WXXD
|
||||
string tel_number = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "tel_number"))?.Replace("'", "\\'");
|
||||
// 收件人
|
||||
string user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "receiver"))?.Replace("'", "\\'");
|
||||
if (string.IsNullOrEmpty("user_id"))
|
||||
if (string.IsNullOrEmpty(user_id))
|
||||
return "{\"code\":500,\"msg\":\"缺少用户编号\"}";
|
||||
if (string.IsNullOrEmpty("after_sale_json"))
|
||||
if (string.IsNullOrEmpty(shop_id))
|
||||
return "{\"code\":500,\"msg\":\"缺少店铺编号\"}";
|
||||
if (string.IsNullOrEmpty("province_name") || string.IsNullOrEmpty("city_name") || string.IsNullOrEmpty("county_name") || string.IsNullOrEmpty("detail_info"))
|
||||
if (string.IsNullOrEmpty(province_name) || string.IsNullOrEmpty(city_name) || string.IsNullOrEmpty(county_name) || string.IsNullOrEmpty(detail_info))
|
||||
return "{\"code\":500,\"msg\":\"省市区或详细地址不完整\"}";
|
||||
if (string.IsNullOrEmpty("user_name"))
|
||||
if (string.IsNullOrEmpty(user_name))
|
||||
return "{\"code\":500,\"msg\":\"缺少收件人\"}";
|
||||
if (string.IsNullOrEmpty("tel_number"))
|
||||
if (string.IsNullOrEmpty(tel_number))
|
||||
return "{\"code\":500,\"msg\":\"缺少收件人电话\"}";
|
||||
|
||||
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
|
||||
|
||||
Reference in new issue
Block a user