|
|
@@ -11,4 +11,15 @@ class WlClass extends BaseClass
|
|
|
|
|
|
public static $baseFile = '\bizGhs\merchant\models\Wl';
|
|
|
|
|
|
+ public static function getWlList($where)
|
|
|
+ {
|
|
|
+ $data = self::getList('*', $where, 'inTurn DESC');
|
|
|
+ $list = isset($data['list']) && !empty($data['list']) ? $data['list'] : [];
|
|
|
+ if (empty($list)) {
|
|
|
+ return $data;
|
|
|
+ }
|
|
|
+ $data['list'] = $list;
|
|
|
+ return $data;
|
|
|
+ }
|
|
|
+
|
|
|
}
|