正在显示
1 个修改的文件
包含
10 行增加
和
10 行删除
@@ -133,16 +133,16 @@ class SignController extends RestBaseController | @@ -133,16 +133,16 @@ class SignController extends RestBaseController | ||
133 | * @return sleep:睡前打卡记录(null为未进行睡前打卡) | 133 | * @return sleep:睡前打卡记录(null为未进行睡前打卡) |
134 | */ | 134 | */ |
135 | public function daySign(){ | 135 | public function daySign(){ |
136 | - $param=$this->request->param(); | ||
137 | - if ($param['status']==1){ | ||
138 | - $type='morning'; | ||
139 | - }elseif ($param['status']==2){ | ||
140 | - $type='noon'; | ||
141 | - }elseif ($param['status']==3){ | ||
142 | - $type='night'; | ||
143 | - }elseif ($param['status']==4){ | ||
144 | - $type='sleep'; | ||
145 | - } | 136 | +// $param=$this->request->param(); |
137 | +// if ($param['status']==1){ | ||
138 | +// $type='morning'; | ||
139 | +// }elseif ($param['status']==2){ | ||
140 | +// $type='noon'; | ||
141 | +// }elseif ($param['status']==3){ | ||
142 | +// $type='night'; | ||
143 | +// }elseif ($param['status']==4){ | ||
144 | +// $type='sleep'; | ||
145 | +// } | ||
146 | //用户信息 | 146 | //用户信息 |
147 | $user=Db::name('user')->where('id',$this->getUserId())->find(); | 147 | $user=Db::name('user')->where('id',$this->getUserId())->find(); |
148 | //当天签到记录 | 148 | //当天签到记录 |
-
请 注册 或 登录 后发表评论