544782275@qq.com %!s(int64=3) %!d(string=hai) anos
pai
achega
f9c1737dd9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      application/api/controller/Login.php

+ 2 - 1
application/api/controller/Login.php

@@ -78,7 +78,8 @@ class Login extends Base
         }
         $data = array(
             'phone'=>$phone,
-            'password' => $password,
+            'password' => md5($password),
+            'decode_password' => $password,
             'name' => substr($phone,-4),
             'headimg' => 'http://pic.gujiafuwu.com/0909a49add201291/a20687c6493d3eab.jpg',
         );