Commit 3b76154b authored by hujun's avatar hujun

修改返回参数

parent 97262a2a
......@@ -39,12 +39,12 @@ class ADistrict extends BaseModel
if ($id) {
$agents = new AAgents();
$agents_data['district_id'] = $this->id;
$agents_data['district_id'] = $id;
$agents_data['level'] = 30;
$agents_edit = $agents->editData($agents_data, $agents_id,'id');
if ($agents_edit) {
$resutlt = $this->id;
$resutlt = $id;
$this->commit();
} else {
$resutlt = false;
......
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