From 69aee59892aecae3f2ea54c5a41cffdc6e011f19 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 9 Dec 2024 10:01:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=AD=E9=9F=B3=E6=92=AD?= =?UTF-8?q?=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Gtpay.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/controller/Gtpay.php b/app/api/controller/Gtpay.php index cf67b009..92fe47a6 100644 --- a/app/api/controller/Gtpay.php +++ b/app/api/controller/Gtpay.php @@ -409,11 +409,11 @@ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlu5coHWBbtrz8DyX0VbPWiJZlAsofwZ99pZq return; } - $message = $sound['message'] ?? CloudAudioServer::MESSAGE; + $message = empty($sound['message'])? CloudAudioServer::MESSAGE : $sound['message'] ; CloudAudioServer::send([ 'id' => $sound['sn'], 'version' => $sound['version'], - 'message' => "{$message},{$money}", + 'message' => "{$message},{$money},元", ]); } } \ No newline at end of file