diff --git a/FlyCube/Api/Controller/PayController.class.php b/FlyCube/Api/Controller/PayController.class.php index 23762cc..4cc504d 100644 --- a/FlyCube/Api/Controller/PayController.class.php +++ b/FlyCube/Api/Controller/PayController.class.php @@ -76,7 +76,7 @@ class PayController extends PublicController $orderParameter = [ 'out_trade_no' => $order['order_sn'], 'description' => '餐品', //存商品名称吧 后期在做调整 - // 'attach' => strval($order['shop_id']), // 将 shop_id 转为字符串 + 'attach' => strval($order['shop_id']), // 将 shop_id 转为字符串 'amount' => [ 'total' => $order['total_price'] * 100, //单位:分 'currency' => 'CNY',