|
|
@@ -180,30 +180,12 @@ class AdminClass extends BaseClass
|
|
|
}
|
|
|
self::updateById($id, $data);
|
|
|
}
|
|
|
-
|
|
|
- //取收款要通知的全部员工 shish 2019.12.24
|
|
|
- public static function getRemindAdmin($merchantId)
|
|
|
- {
|
|
|
- $list = self::getAllByCondition(['merchantId' => $merchantId, 'delStatus' => 0, 'status' => 1, 'remind' => 1], null, '*');
|
|
|
- if (empty($list)) {
|
|
|
- return [];
|
|
|
- }
|
|
|
- $list = self::groupAdminBaseInfo($list);
|
|
|
- return $list;
|
|
|
- }
|
|
|
-
|
|
|
- //取商家的全部员工 shish 2019.12.24
|
|
|
- public static function getAllAdmin($merchantId, $notice)
|
|
|
- {
|
|
|
- $list = self::getAllByCondition(['merchantId' => $merchantId, 'delStatus' => 0, 'status' => 1]);
|
|
|
- return $list;
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
public static function getByMiniOpenId($miniOpenId)
|
|
|
{
|
|
|
return self::getByCondition(['miniOpenId' => $miniOpenId]);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//创建以及更新用户 shish 2020.2.7
|
|
|
public static function replaceAdmin($adminInfo, $source)
|
|
|
{
|