Commit a2448f9c authored by hujun's avatar hujun

编辑商铺日志

parent ac39905b
......@@ -63,6 +63,15 @@ class HouseService
$house_id = $this->house->addHouse($data, $agent_id);
if (!empty($data['id'])) {
$m_operating = new GOperatingRecords();
$remark = '修改为:剩余铺数'.$data['residue_num'];
if ($data['is_exclusive_type'] == 1) {
$remark .= ',独家有效期 '.$data['agent_start_time'].'—'.$data['agent_end_time'];
}
$m_operating->record(0, 6, $remark, $house_id);
}
if (empty($house_id)) {
$result['status'] = 'fail';
$result['msg'] = '新增或编辑商铺失败';
......
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