Jelajahi Sumber

图片全路径bug

lizhen_gitee 1 tahun lalu
induk
melakukan
e8f0f17956
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      application/api/controller/Gift.php

+ 1 - 0
application/api/controller/Gift.php

@@ -48,6 +48,7 @@ class Gift extends Api
             ->group('log.gift_id')
             ->order('gift.price desc')
             ->select();
+        $list = list_domain_image($list,['image','special']);
         $this->success("获取成功!", $list);
     }