moonsflyer il y a 4 mois
Parent
commit
eaa3d6dd46
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      phalapi/src/app/functions.php

+ 2 - 3
phalapi/src/app/functions.php

@@ -4433,15 +4433,14 @@ namespace App;
         $shop_list = [];
         foreach($rs as &$v){
             $shop_info=\PhalApi\DI()->notorm->shop_apply
-                ->select('uid,name,thumb,username,service_points')
+                ->select('uid,name,thumb,username,sale_nums,service_points')
                 ->where(['uid'=>$v['uid']])
                 ->fetchOne();
 //            $v['cate_name']=$cate_name;
 //
 //            $v['addtime'] = date('Y-m-d H:i:s',$shop_info['addtime']);
 //
-            $shop_info['thumb'] =  $shop_info['thumb']??get_upload_path( $shop_info['thumb']);
-            $shop_info['order_num'] = 500 ;
+            $shop_info['thumb'] =  get_upload_path( $shop_info['thumb']);
             $shop_info['delivery_time'] =  '35分钟' ;
 
             $shop_list[]=$shop_info;