|
@@ -1158,6 +1158,8 @@ class Headquarters extends BaseController
|
|
|
$business['updatetime'] = date('Y-m-d H:i:s');
|
|
|
$bp = Db::name('business')->save($business);
|
|
|
if($bp==false) throw new Exception('业务公司数据更新失败');
|
|
|
+ $business['type']=1;
|
|
|
+ Cache::store('redis')->handler()->lpush('companycopy',json_encode($business,JSON_UNESCAPED_UNICODE));
|
|
|
}
|
|
|
}
|
|
|
}
|