|
|
@@ -17,5 +17,15 @@ class OrderService extends BaseService
|
|
|
{
|
|
|
|
|
|
public static $baseFile = '\biz\order\classes\OrderClass';
|
|
|
-
|
|
|
+
|
|
|
+ public static function getOrderList($where)
|
|
|
+ {
|
|
|
+ $list = OrderService::getList('*', $where, 'addTime DESC');
|
|
|
+
|
|
|
+ $userIdList = array_column($list, 'user_id');
|
|
|
+ UserService::getByIds($userIdList);
|
|
|
+ //....
|
|
|
+ return $list;
|
|
|
+ }
|
|
|
+
|
|
|
}
|