moonsflyer 4 tháng trước cách đây
mục cha
commit
c2921cbf57
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      phalapi/src/app/functions.php

+ 5 - 1
phalapi/src/app/functions.php

@@ -4433,13 +4433,17 @@ namespace App;
         $shop_list = [];
         foreach($rs as &$v){
             $shop_info=\PhalApi\DI()->notorm->shop_apply
+                ->select('uid,name,thumb,username,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']['thumb']);
+            $shop_info['thumb'] =  $shop_info['thumb']??get_upload_path( $shop_info['thumb']);
+            $shop_info['order_num'] = 500 ;
+            $shop_info['delivery_time'] =  '35分钟' ;
+
             $shop_list[]=$shop_info;
         }
         return $shop_list;