Files
cm-app-services2/application/models/app_model.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);
}
}