Commit 5b758e40 by Tobin

api issue region image

parent 7b11b308
......@@ -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