From fa64e78fe1b7ac967bf391282d57352372a8372a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 16 Mar 2021 10:08:21 +0800 Subject: [PATCH] Update Order.php --- app/data/controller/api/auth/Order.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/data/controller/api/auth/Order.php b/app/data/controller/api/auth/Order.php index 75d601668..5e55e9bb1 100644 --- a/app/data/controller/api/auth/Order.php +++ b/app/data/controller/api/auth/Order.php @@ -108,6 +108,7 @@ class Order extends Auth // 商品信息字段 'goods_name' => $goodsInfo['name'], 'goods_cover' => $goodsInfo['cover'], + 'goods_payment' => $goodsInfo['payment'], 'goods_sku' => $goodsItem['goods_sku'], 'goods_code' => $goodsItem['goods_code'], 'goods_spec' => $goodsItem['goods_spec'], @@ -273,6 +274,14 @@ class Order extends Auth } } + public function channel() + { + $data = $this->_vali([ + 'uid.value' => $this->uuid, + 'order_no.require' => '单号不能为空', + ]); + } + /** * 获取订单支付状态 * @throws \think\db\exception\DataNotFoundException