+ [task#133390,done,0.5h] get app list.
This commit is contained in:
@@ -93,20 +93,6 @@ class systemModel extends model
|
||||
->fetchAll('id');
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据应用标识获取应用详情。
|
||||
* Get an app by appKey.
|
||||
*
|
||||
* @param string $appKey
|
||||
* @return array|bool
|
||||
*/
|
||||
public function getByAppKey(string $appKey)
|
||||
{
|
||||
return $this->dao->select('*')->from(TABLE_SYSTEM)
|
||||
->where('appkey')->eq($appKey)
|
||||
->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据应用ID列表获取产品ID列表。
|
||||
* Get product id list by system id list.
|
||||
|
||||
Reference in New Issue
Block a user