作者 王晓刚
1 个管道 的构建 通过 耗费 2 秒

托管成功短信提示

... ... @@ -72,7 +72,7 @@ class UserRegisterMobileController extends WeChatBaseController
$data1['update_time']=time();
$data1['end_time']=time()+300;//过期时间
$data1['type']=1;
Db::name('code')->where(array('user_id'=>$user_id,'type'=>1))->update($data1);
Db::name('code')->where(array('user_id'=>$user_id,'phone'=>$mobile,'type'=>1))->update($data1);
}else{
$data1['user_id']=$user_id;
$data1['phone']=$mobile;
... ...
... ... @@ -215,8 +215,8 @@
})
$('.date_choose').click(function () {
weui.datePicker({
start: 1960,
end: 2030,
start:new Date().getFullYear() - 90,
end: new Date(),
defaultValue: [new Date().getFullYear(), new Date().getMonth()+1, new Date().getDate()],
onConfirm: function(result){
console.log(result);
... ...
... ... @@ -52,7 +52,7 @@
<div class="sex_itemtxt work" >请选择</div>
</div>
<div class="survey_item big_item">
<div class="survey_itemtxt">*有无吸烟酗酒</div>
<div class="survey_itemtxt">*有无吸烟酗酒</div>
<div class="survey_input" id="smoke"></div>
<div class="sex_itemtxt smoke" >请选择</div>
</div>
... ... @@ -509,7 +509,7 @@ $('.fuzai').click(function () {
label: '100万以上',
value: '1000000'
},{
label: '0',
label: '',
value: '0'
}], {
onChange: function(result) {
... ...