one_after 3 hónapja
szülő
commit
d144254e1b
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      app/controller/MyGoodsController.php

+ 3 - 1
app/controller/MyGoodsController.php

@@ -87,7 +87,6 @@ class MyGoodsController
                     'remarks'            => $wa_goods->remarks,
                     'usd_quota'          => $wa_goods->usd_quota,
                     'original_usd_quota' => $wa_goods->original_usd_quota,
-                    'ranking'            => $wa_goods->ranking,
                     'img'                => imageToBase64($wa_goods->img),
                     'created_at'         => date('Y-m-d H:i:s', strtotime($v->created_at)),
                     'id'                 => $v->id,
@@ -100,6 +99,9 @@ class MyGoodsController
                     'send_status'        => $v->send_status,
                     'pass'               => $v->pass,
                     'type'               => $v->type,
+                    'ranking'            => $v->ranking,
+                    'old_ranking'        => $v->old_ranking,
+                    'new_ranking'        => $v->new_ranking,
                 ];
             }
         } catch (\Throwable $exception) {