Commit 548fc4d6 authored by liudong1993's avatar liudong1993
parents 143e4fc3 ef3c0da8
...@@ -84,6 +84,7 @@ namespace Mall.WebApi.Controllers.Adapay ...@@ -84,6 +84,7 @@ namespace Mall.WebApi.Controllers.Adapay
if (pay_channel == "alipay_qr") if (pay_channel == "alipay_qr")
{ {
pay_info = JObject.Parse(expend.ToString()).GetStringValue("qrcode_url"); pay_info = JObject.Parse(expend.ToString()).GetStringValue("qrcode_url");
} }
else else
{ {
......
...@@ -16,9 +16,11 @@ namespace Mall.WebApi.Controllers.Adapay ...@@ -16,9 +16,11 @@ namespace Mall.WebApi.Controllers.Adapay
[EnableCors("AllowCors")] [EnableCors("AllowCors")]
public class MessageController : ControllerBase public class MessageController : ControllerBase
{ {
public ApiResult GetWeChatMessage() [HttpGet]
[HttpPost]
public bool GetWeChatMessage()
{ {
return ApiResult.Success(); return true;
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment