|
@@ -18,7 +18,7 @@ class UserController extends BaseController {
|
|
'unbind',
|
|
'unbind',
|
|
'changeUserName',
|
|
'changeUserName',
|
|
'changeNickName',
|
|
'changeNickName',
|
|
-// 'changePhoto',
|
|
|
|
|
|
+ 'changePhoto',
|
|
'setVisible',
|
|
'setVisible',
|
|
];
|
|
];
|
|
|
|
|
|
@@ -487,9 +487,6 @@ class UserController extends BaseController {
|
|
];
|
|
];
|
|
Param::checkParam2($rules, $args);
|
|
Param::checkParam2($rules, $args);
|
|
|
|
|
|
- var_dump($_REQUEST, $args);
|
|
|
|
- var_dump(file_get_contents('php://input'));exit;
|
|
|
|
-
|
|
|
|
$file = $args['cover_photo'];
|
|
$file = $args['cover_photo'];
|
|
$cover_photo = '';
|
|
$cover_photo = '';
|
|
try {
|
|
try {
|