发
This commit is contained in:
parent
bc906d74ac
commit
b946da0f86
@ -225,7 +225,7 @@ class ControllerBase extends Phalcon\Mvc\Controller{
|
||||
*/
|
||||
function __check_appid($appid=""){
|
||||
//查询接口信息
|
||||
$AppInfo = AppInfo::findFirst("AppId = '$appid' AND Enable = 0");
|
||||
$AppInfo = AppInfo::findFirst("AppId = '$appid' AND Enable = 1");
|
||||
//如果未查询到接口信息
|
||||
if(empty($AppInfo)){
|
||||
//告知用户"找不到app配置信息,appid无效,err detail:找不到app配置信息"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user