xieruidong 2 years ago
parent
commit
7ac7fdc2ca

+ 3 - 0
application/admin/controller/OrderInfoRefund.php

@@ -71,4 +71,7 @@ class OrderInfoRefund extends Backend
         return $this->view->fetch();
     }
 
+    public function audit($ids){
+
+    }
 }

+ 1 - 1
application/common/model/OrderInfo.php

@@ -28,7 +28,7 @@ class OrderInfo extends Model
             'goods'=>$goods['goods'],
             'sku'=>$goods['sku'],
         ]);
-        $orderInfo['logo']=$goods['logo'][0];
+        $orderInfo['logo']=$goods['goods']['logo'][0];
         $orderInfo['user_id']=$orders['user_id'];
         $orderInfo['order_id']=$orders['id'];
         $orderInfo['goods_id']=$goods['goods_id'];

+ 1 - 1
public/assets/js/backend/order_info_refund.js

@@ -71,7 +71,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
         add: function () {
             Controller.api.bindevent();
         },
-        edit: function () {
+        audit: function () {
             Controller.api.bindevent();
         },
         api: {