Authored by whb

客户端API

... ... @@ -16,10 +16,15 @@ class Controller_MobileApi extends Controller_Abstract
$data = array();
foreach($modules as $module)
{
$headCover = '';
if($module['id'] == 1)
{
$headCover = SITE_IMG.'/yohood/yohood-logo-mobile_v2.png';
}
$data [] = array('id'=> $module['id'],
'moduleName' => $module['module_name'],
'status'=> $module['status'],
'headCover' => SITE_IMG.'/yohood/yohood-logo-mobile_v2.png'
'status'=> $module['status'],
'moduleName' => $module['module_name'],
'headCover' => $headCover
);
}
return $this->returnJson(self::SUCCESS_STATUS_CODE, Config_Code_Mobile::$success_opt['code'], $data, Config_Code_Mobile::$success_opt['message']);
... ...