Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
17
application/models/app_model.php
Normal file
17
application/models/app_model.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user