作者 sgj
1 个管道 的构建 失败 耗费 12 秒

打卡操作

... ... @@ -666,6 +666,8 @@ class IndexController extends RestBaseController
$data['apply_lunch_food']=html_entity_decode(htmlspecialchars_decode(input('apply_lunch_food')));
$data['apply_dinner_food']=html_entity_decode(htmlspecialchars_decode(input('apply_dinner_food')));
dump($data);
$result=$Join->insert($data);
if ($result>0){
$this->success('报名成功,请等待审核!');
... ...
... ... @@ -52,7 +52,6 @@ class JoinController extends AdminBaseController
->join('activity a','a.id=j.activity_id')
->where($map)
->find();
//dump($data);
$this->assign('data',$data);
return $this->fetch();
... ...
... ... @@ -95,7 +95,7 @@
<tr>
<th width="100">申请入住<span class="form-required">*</span></th>
<td>
<foreach name="$select_time" id="vo">
<foreach name="$apply_stay" id="vo">
<input class="form-control" type="text"
id="id_card" value="{$vo.date|default=''}" readonly placeholder=""/>
... ... @@ -113,7 +113,7 @@
<foreach name="apply_lunch_food" id="vo">
<input class="form-control" type="text"
id="id_card" value="{$vo.date|default=''}{$vo.time|default=''}" readonly placeholder=""/>
id="id_card" value="{$vo}" readonly placeholder=""/>
</foreach>
</td>
... ... @@ -128,7 +128,7 @@
<foreach name="apply_dinner_food" id="vo">
<input class="form-control" type="text"
id="id_card" value="{$vo.date|default=''}{$vo.time|default=''}" readonly placeholder=""/>
id="id_card" value="{$vo}" readonly placeholder=""/>
</foreach>
</td>
... ...
... ... @@ -66,7 +66,6 @@ Route::get('captcha/new', "\\cmf\\controller\\CaptchaController@index");
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
$data = curl_exec($ch);
return $data;
// dump($data);
}
... ...