From 12690729bc3f0a3e920051e11d2f5522a15f44bc Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Thu, 14 Jun 2018 09:17:44 +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