allen 3 years ago
parent
commit
1c8296df16
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/index/controller/Index.php

+ 1 - 0
app/index/controller/Index.php

@@ -576,6 +576,7 @@ class Index extends Controller
         $awards = Db::table('awards_order')->alias('o')
             ->leftJoin('awards_gift g', 'o.gift_id = g.id')
             ->field(['g.name as giftName', 'o.type', 'o.create_at', 'o.gift_id'])
+            ->where('o.uid', Safe::$user['uid'])
             ->select();
 
         $res = [];