Skip to content

Commit

Permalink
Update server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Aug 28, 2023
1 parent f9c19ff commit b9ae8b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/src/6.x/pay/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ $message = $server->getReqeustMessage();
// 你的逻辑...

// 返回 SUCCESS 或者 FAIL 等其他状态
return new \Nyholm\Psr7\Response(200, [], \EasyWeChat\Kernel\Support\Xml::build(['return_code' => 'SUCCESS', 'return_msg' => 'OK']));
return new \Nyholm\Psr7\Response(
200, [],
\EasyWeChat\Kernel\Support\Xml::build([
'return_code' => 'SUCCESS',
'return_msg' => 'OK'
])
);
```

## 其它事件处理
Expand Down

0 comments on commit b9ae8b1

Please sign in to comment.