diff --git a/KJD_WebService/BLL/BXX/BXXProductManage.cs b/KJD_WebService/BLL/BXX/BXXProductManage.cs
index 2ecd75d..ce2a5ec 100644
--- a/KJD_WebService/BLL/BXX/BXXProductManage.cs
+++ b/KJD_WebService/BLL/BXX/BXXProductManage.cs
@@ -3357,6 +3357,28 @@ namespace KJD_Web.BLL.BXX
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
+ ///
+ /// 获取提审限额
+ ///
+ ///
+ ///
+ public string WxApiGetAuditQuota(string inputData)
+ {
+ if (!string.IsNullOrEmpty(inputData))
+ {
+ var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
+ string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
+ if (time1 != EncrypUtil.Encryption(time))
+ return "{\"code\":50000,\"msg\":\"校验失败\"}";
+
+ string post_data = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "post_data"));
+ string token = RegexUtils.GetStringQuery(ref inputData, "token");
+
+ return HttpUtils.WxApiPostResponse("https://api.weixin.qq.com/channels/ec/product/getauditquota?access_token= " + token, post_data, "");
+ }
+ return "{\"code\":19999,\"msg\":\"输入为空\"}";
+ }
+
public string WxApiUploadImage(string inputData)
{
if (!string.IsNullOrEmpty(inputData))
diff --git a/KJD_WebService/Controllers/WX/WXProductController.cs b/KJD_WebService/Controllers/WX/WXProductController.cs
index 72f466a..82064a2 100644
--- a/KJD_WebService/Controllers/WX/WXProductController.cs
+++ b/KJD_WebService/Controllers/WX/WXProductController.cs
@@ -403,6 +403,14 @@ namespace KJD_Web.Controllers.WX
return JsonString(result);
}
+ public IHttpActionResult wx_api_get_audit_quota()
+ {
+ string jsontext = GetRequestJsonString();
+ var result = new BXXProductManage().WxApiGetAuditQuota(jsontext);
+
+ return JsonString(result);
+ }
+
public IHttpActionResult wx_api_category_classify()
{
string jsontext = GetRequestJsonString();