|
|
@@ -42,6 +42,18 @@ class CustomService extends BaseService
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
+ //有带排序的列表 shish 20210913
|
|
|
+ public static function getCustomOrderList($where,$order)
|
|
|
+ {
|
|
|
+ $data = CustomClass::getList('*', $where, $order);
|
|
|
+ $list = isset($data['list']) && !empty($data['list']) ? $data['list'] : [];
|
|
|
+ if (empty($list)) {
|
|
|
+ return $data;
|
|
|
+ }
|
|
|
+ $data['list'] = CustomClass::groupBaseInfo($list);
|
|
|
+ return $data;
|
|
|
+ }
|
|
|
+
|
|
|
//获取客户信息,包括商家头像和店长信息 ssh 2021.1.8
|
|
|
public static function getCustomInfo($customId)
|
|
|
{
|