Commit 54be1e01 authored by liuyuzhen's avatar liuyuzhen

短信验证码问题

parent 05b1c6b6
...@@ -114,7 +114,7 @@ class ShortMessageModel { ...@@ -114,7 +114,7 @@ class ShortMessageModel {
* @throws \Exception * @throws \Exception
*/ */
public function validCode($where){ public function validCode($where){
if($where['code']=='666666'){ if($where['code']=='666666'&&(APP_ENV=='test'||APP_ENV=='develop')){
return true; return true;
} }
$this->validateValidCodeData($where); $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