Commit 681b4d8f authored by zhangkuanguang's avatar zhangkuanguang

芜湖上传图片

parent 279666cc
......@@ -770,6 +770,13 @@ class Pic_model extends MY_Model {
*/
public function get_upload_table_name($tbl, $id)
{
if(GB_CITY == 'wh'){
if($tbl == 'sell' && $id < 10310000) return 'upload';
if($tbl == 'rent' && $id < 1577000) return 'upload';
return 'upload1';
}
if(GB_CITY!='nj') return 'upload';
if($tbl == 'sell' && $id < 23972101) return 'upload0';
if($tbl == 'rent' && $id < 11907211) return 'upload0';
......
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