18 lines
431 B
PHP
18 lines
431 B
PHP
<?php
|
|
defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
class app_model extends MY_Model
|
|
{
|
|
private $table = 've_app_config';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
public function findByAppId($appId)
|
|
{
|
|
return $this->rest->db->where('ap_id', $appId)->select('ap_id appId, ap_name name, ap_recommend customInfo')->get($this->table);
|
|
}
|
|
}
|