Commit 39f56892 authored by zw's avatar zw

sousuo

parent 54d6cb67
......@@ -114,7 +114,7 @@ class Shop extends Basic
if (isset($params['title']) && $params['site_area'] == 1 || $params['site_area'] == 2) {
$conditions['external_title'] = array("like", "%" . trim($params['title']) . "%");
} else if (isset($params['title'])) {
$conditions['internal_title'] = array("like", "%" . trim($params['title']) . "%");
$conditions['internal_title|id'] = array("like", "%" . trim($params['title']) . "%");
}
//c端查对外的名字 b端查对内的名字
......
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