From 40417edce32320cc8f6f558adf9b8ee8b4ff23c2 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 26 Apr 2018 16:44:14 +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