From 10dab8618ad99c405fc8f3b50093a5aaadbc1e99 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Mon, 16 Apr 2018 14:09:19 +0800
Subject: [PATCH] 增加铃声
---
Yfs/Api/User.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Yfs/Api/User.php b/Yfs/Api/User.php
index 9110a9b..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){
@@ -185,11 +185,13 @@
/**
* ������������������
+ * @desc ������������������
* @return string user_id ������id
* @return string field ������������������������������������['refresh_frequency', 'video', 'is_open_upload']
* @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