Commit 2310d009 authored by hujun's avatar hujun

修改时间

parent df0b1f6e
......@@ -70,7 +70,7 @@ class AppointmentTime extends Basic
return $this->response("101", "预约时间为空,或者小于当前时间");
}
$addPrams = array(
'expect_time' => date("Y-m-d H:i:s", strtotime($params["expect_time"] / 1000)),
'expect_time' => date("Y-m-d H:i:s", $params["expect_time"] / 1000),
'phone' => $params["phone"],
'house_title' => $params["house_title"],
'house_id' => $params["house_id"],
......
......@@ -56,7 +56,7 @@ class WatchShop extends Basic
$applies = new AppointWatchShop();
$data['list'] = $applies->getAppointWatchShopList($pageNo, $pageSize, '', '*', $where);
$data['list'] = $applies->getAppointWatchShopList($pageNo, $pageSize, 'id DESC', '*', $where);
$data['total'] = $applies->getAppointWatchShopListTotal($where);
return $this->response($data['status'], $data['msg'], $data);
}
......@@ -80,11 +80,12 @@ class WatchShop extends Basic
'house_id' => $apponit_data['house_id'],
'customer' => $apponit_data['appellation'],
'phpone' => $apponit_data['phone'],
'go_off' => $apponit_data['expect_time'],
'go_off' => date('Y-m-d H:i:s', strtotime($apponit_data['expect_time'])),
'agent_shop_id' => $params['shop_id'],
'transaction_status' => 0,
'invite_id' => 0,
'marketgroup_id' => 0
'marketgroup_id' => 0,
'created' => date("Y-m-d H:i:s")
])->save();
$remark = new Remarks();
......
......@@ -84,7 +84,7 @@ define (['doT', 'text!temp/watch_template_tpl.html', 'css!style/home.css',"datet
_html += '<li class="addphone"><span class="id">'+data['id']
+'-</span><span class="phone_name">'+data['realname']
+'</span><span class="phone_span">-</span><span class="phone-phone">'
+data['phone']+'</span><span class="father_id">'
+data['phone']+'</span><span class="hidden father_id">'
+data['father_id']+'</span></li>';
});
$("#agents_list").html(_html);
......
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