From e4d5467f055ece8cc9dfdc02dd836bcc187034a5 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Wed, 13 Jun 2018 10:15:57 +0800
Subject: [PATCH] 替换铃音

---
 Yfs/Api/User.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Yfs/Api/User.php b/Yfs/Api/User.php
index 0fe23f6..1871228 100644
--- a/Yfs/Api/User.php
+++ b/Yfs/Api/User.php
@@ -156,7 +156,7 @@
         if($result == 0){
             $user_service = new Domain_User();
             $result = $user_service->resetPwd($this->phone, $this->password);
-            if($reslt == 0){
+            if($result == 0){
                 $rs['msg'] = '������������������';
             }
             elseif($result == 1){
@@ -191,6 +191,7 @@
      * @return string value ������
      */
     public function updateUserInfo(){
+        $rs = array('code' => 0, 'msg' => ''); 
         $promit_field = array('refresh_frequency', 'video', 'is_open_upload');
         if(in_array($this->field, $promit_field)){
             $user_service = new Domain_User();

--
Gitblit v1.8.0