作者 郭鑫
1 个管道 的构建 通过 耗费 1 秒

页面修改

... ... @@ -147,6 +147,9 @@ class IndexController extends CommentController
$end_time = str_replace("年","-",$data['end_time']);
$end_time = str_replace("月","-",$end_time);
$data['end_time'] = str_replace("月","-",$end_time);
echo "<pre/>";
print_r($data);
die;
if(!$validate->scene('add')->check($data)){
$mes = $validate->getError();
$this->apiResponse('0',$mes);
... ...
... ... @@ -542,8 +542,6 @@
var address = $('.address').val();
var demand = $('.else').val();
var people = $('.people2').val();
console.log('1111111111');
console.log(end_time);
var isTrue = $(".select").hasClass("icon-yixuanze");
if(isTrue == true){
// console.log('4444444444444444');
... ...