Commit b850d9c3 authored by hujun's avatar hujun

编辑商铺上架

parent fc5929e7
...@@ -616,7 +616,7 @@ class GHouses extends BaseModel ...@@ -616,7 +616,7 @@ class GHouses extends BaseModel
$house_id = $this->id; $house_id = $this->id;
} else { } else {
$params['operation_id'] = $params['userId']; $params['operation_id'] = $params['userId'];
$params['status'] = 2; $params['status'] = 1;
$this->allowField(true)->isUpdate(true)->save($params, [ 'id' => $params['id'] ]); $this->allowField(true)->isUpdate(true)->save($params, [ 'id' => $params['id'] ]);
$house_id = $this->id; $house_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