获取提审限额

This commit is contained in:
wule committed 2026-11-16 19:52:49 +08:00
1 parent 75ec004e16
commit ea0cbd6b92
2 files changed
+30

No files matched your search

@@ -3357,6 +3357,28 @@ namespace KJD_Web.BLL.BXX
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
/// <summary>
/// 获取提审限额
/// </summary>
/// <param name="inputData"></param>
/// <returns></returns>
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))
@@ -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();