colly_wyx
2018-04-18 2ee7d19834f3d566579df33e8b86c8ee1d350238
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();