支付金额
This commit is contained in:
2
.env
2
.env
@@ -1,4 +1,4 @@
|
|||||||
APP_DEBUG=false
|
APP_DEBUG=true
|
||||||
|
|
||||||
ADMIN_PANNEL_ADDRESS="http://hphb-protal.uzchain.tech"
|
ADMIN_PANNEL_ADDRESS="http://hphb-protal.uzchain.tech"
|
||||||
UPLOAD_DIRECTORY="./upload"
|
UPLOAD_DIRECTORY="./upload"
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ class Order
|
|||||||
{
|
{
|
||||||
$userid = $GLOBALS['data']['userid'];
|
$userid = $GLOBALS['data']['userid'];
|
||||||
$amount = env("PAY_AMOUNT") ?? 15;
|
$amount = env("PAY_AMOUNT") ?? 15;
|
||||||
if (env("APP_DEBUG")) {
|
// if (env("APP_DEBUG")) {
|
||||||
$amount = 0.01;
|
// $amount = 0.01;
|
||||||
}
|
// }
|
||||||
if (empty($GLOBALS['data']['data']['student_id'])) {
|
if (empty($GLOBALS['data']['data']['student_id'])) {
|
||||||
return show("请正确上传用户信息!", ERROR_CODE, []);
|
return show("请正确上传用户信息!", ERROR_CODE, []);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user