From 66c82a8cc3c870d3300bfb648824de7cab764a8e Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Mon, 09 Apr 2018 10:29:37 +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