Commit fc912f1e by Tobin

Merge branch 'master' into 'dev_production'

api issue region image See merge request !13
parents 9ac05d52 5b758e40
......@@ -139,7 +139,7 @@ class Api_model extends CI_Model {
function popular() {
try {
$rs = $this->db->select('id,name')->where('status',1)->get('region')->result();
$rs = $this->db->select('id,name,region_icon AS image')->where('status',1)->get('region')->result();
if(count($rs) > 0) {
$res = array('status'=>1,'data'=>$rs);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment