Commit 3fe9cc07 authored by liuyuzhen's avatar liuyuzhen

短信验证码问题

parent 54be1e01
......@@ -114,7 +114,7 @@ class ShortMessageModel {
* @throws \Exception
*/
public function validCode($where){
if($where['code']=='666666'&&(APP_ENV=='test'||APP_ENV=='develop')){
if($where['code']=='666666'&&(APP_ENV=='test'||APP_ENV=='develop'||APP_ENV=='pre')){
return true;
}
$this->validateValidCodeData($where);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment