mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-15 07:03:44 +08:00
优化订单状态逻辑
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<?php
|
||||
|
||||
header('content-type: application/json; charset=utf-8');
|
||||
$order = file_get_contents('../runtime/order.json');
|
||||
echo $order;
|
||||
$path = '../runtime/order.json';
|
||||
if (!file_exists($path)) {
|
||||
exit('{"code":3,"msg":"文件不存在"}');
|
||||
} else {
|
||||
exit(file_get_contents($path));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user