Commit a3b809e2 authored by hujun's avatar hujun

部门新增增加站点选择

parent 007e0929
......@@ -58,7 +58,8 @@ class Basic extends Controller
'index/getCurrentCity',
'index/settingCity',
'index/getRealIncome',
'index/bargainInfo'
'index/bargainInfo',
'index/getSiteList'
);
/**
......
......@@ -28,6 +28,7 @@ class ADistrict extends BaseModel
if (empty($data['id'])) {
$this->save([
'district_name' => $data['department_name'],
'site_id' => $data['site_id'],
'create_time' => date('Y-m-d H:i:s')
]);
$id = $this->id;
......
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