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

雇人修改

... ... @@ -140,9 +140,6 @@ class IndexController extends CommentController
public function hire()
{
$data = $this->request->param();
echo "<pre/>";
print_r($data);
die;
$validate = Loader::validate('Hire');
if(!$validate->scene('add')->check($data)){
$mes = $validate->getError();
... ...
... ... @@ -354,10 +354,10 @@
var address = $('.address').val();
var demand = $('.else').val();
var people = $('.people2').val();
console.log(people);
// console.log(people);
var isTrue = $(".select").hasClass("icon-yixuanze");
if(isTrue == true){
console.log('4444444444444444');
// console.log('4444444444444444');
$.ajax({
type: 'POST',
url: "{:url('Index/hire')}",
... ...