Skip to content

Webman easywehcat 6.x 支付回调报错 #2735

Answered by reatang
qianshi-tech asked this question in Q&A
Discussion options

You must be logged in to vote

然后,解决你问题的方案就是:

// 默认返回 ['code' => 'SUCCESS', 'message' => '成功']
return $server->serve();

改为:(我也没用过webman,你看着意思改改)

// 默认返回 ['code' => 'SUCCESS', 'message' => '成功']
$resp = $server->serve();
return response($resp->getBody(), 200, $resp->getHeaders());

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@qianshi-tech
Comment options

Comment options

You must be logged in to vote
3 replies
@qianshi-tech
Comment options

@reatang
Comment options

@qianshi-tech
Comment options

Answer selected by qianshi-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants