wupengfei 2 năm trước cách đây
mục cha
commit
94e66d4b84
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 2 2
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Mall.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Expedite.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Expedite.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/api/controller/Mall.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Mall.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -172,7 +172,7 @@
       <workItem from="1666227349089" duration="7795000" />
       <workItem from="1666313182769" duration="19043000" />
       <workItem from="1668041658444" duration="593000" />
-      <workItem from="1668042326649" duration="22304000" />
+      <workItem from="1668042326649" duration="22410000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Mall.php

@@ -324,7 +324,7 @@ class Mall extends Base
      */
     public function getOwnGoodsList()
     {
-        $list = StoreGoods::field('id,name,desc,create_at,low_price')
+        $list = StoreGoods::field('id,name,desc,create_at,low_price,cover')
             ->where(['user_id'=>$this->user_id])
             ->order(['sort'=>'desc','id'=>'desc'])
             ->limit($this->off_set,$this->page_num)