diff --git a/app/data/controller/api/auth/Order.php b/app/data/controller/api/auth/Order.php index 949f7ea13..c1bacdf2c 100644 --- a/app/data/controller/api/auth/Order.php +++ b/app/data/controller/api/auth/Order.php @@ -296,7 +296,7 @@ class Order extends Auth [$map, $types] = [['status' => 1, 'deleted' => 0], []]; foreach (PaymentService::TYPES as $type => $arr) if (in_array($this->type, $arr['bind'])) $types[] = $type; $query = $this->app->db->name('ShopPayment')->where($map)->whereIn('type', $types)->whereIn('code', str2arr($payments)); - $this->success('获取支付参数数据', $query->order('sort desc,id desc')->field('type,code,name')->select()->toArray()); + $this->success('获取支付参数数据', $query->order('sort desc,id desc')->field('type,code,name,cover')->select()->toArray()); } /** diff --git a/app/data/view/shop_payment/index.html b/app/data/view/shop_payment/index.html index a57f0544a..b5146b2b2 100644 --- a/app/data/view/shop_payment/index.html +++ b/app/data/view/shop_payment/index.html @@ -41,7 +41,10 @@