正在显示
3 个修改的文件
包含
5 行增加
和
5 行删除
@@ -72,7 +72,7 @@ class UserRegisterMobileController extends WeChatBaseController | @@ -72,7 +72,7 @@ class UserRegisterMobileController extends WeChatBaseController | ||
72 | $data1['update_time']=time(); | 72 | $data1['update_time']=time(); |
73 | $data1['end_time']=time()+300;//过期时间 | 73 | $data1['end_time']=time()+300;//过期时间 |
74 | $data1['type']=1; | 74 | $data1['type']=1; |
75 | - Db::name('code')->where(array('user_id'=>$user_id,'type'=>1))->update($data1); | 75 | + Db::name('code')->where(array('user_id'=>$user_id,'phone'=>$mobile,'type'=>1))->update($data1); |
76 | }else{ | 76 | }else{ |
77 | $data1['user_id']=$user_id; | 77 | $data1['user_id']=$user_id; |
78 | $data1['phone']=$mobile; | 78 | $data1['phone']=$mobile; |
@@ -215,8 +215,8 @@ | @@ -215,8 +215,8 @@ | ||
215 | }) | 215 | }) |
216 | $('.date_choose').click(function () { | 216 | $('.date_choose').click(function () { |
217 | weui.datePicker({ | 217 | weui.datePicker({ |
218 | - start: 1960, | ||
219 | - end: 2030, | 218 | + start:new Date().getFullYear() - 90, |
219 | + end: new Date(), | ||
220 | defaultValue: [new Date().getFullYear(), new Date().getMonth()+1, new Date().getDate()], | 220 | defaultValue: [new Date().getFullYear(), new Date().getMonth()+1, new Date().getDate()], |
221 | onConfirm: function(result){ | 221 | onConfirm: function(result){ |
222 | console.log(result); | 222 | console.log(result); |
@@ -52,7 +52,7 @@ | @@ -52,7 +52,7 @@ | ||
52 | <div class="sex_itemtxt work" >请选择</div> | 52 | <div class="sex_itemtxt work" >请选择</div> |
53 | </div> | 53 | </div> |
54 | <div class="survey_item big_item"> | 54 | <div class="survey_item big_item"> |
55 | - <div class="survey_itemtxt">*有无吸烟酗酒是:</div> | 55 | + <div class="survey_itemtxt">*有无吸烟酗酒史:</div> |
56 | <div class="survey_input" id="smoke"></div> | 56 | <div class="survey_input" id="smoke"></div> |
57 | <div class="sex_itemtxt smoke" >请选择</div> | 57 | <div class="sex_itemtxt smoke" >请选择</div> |
58 | </div> | 58 | </div> |
@@ -509,7 +509,7 @@ $('.fuzai').click(function () { | @@ -509,7 +509,7 @@ $('.fuzai').click(function () { | ||
509 | label: '100万以上', | 509 | label: '100万以上', |
510 | value: '1000000' | 510 | value: '1000000' |
511 | },{ | 511 | },{ |
512 | - label: '0', | 512 | + label: '无', |
513 | value: '0' | 513 | value: '0' |
514 | }], { | 514 | }], { |
515 | onChange: function(result) { | 515 | onChange: function(result) { |
-
请 注册 或 登录 后发表评论