...
|
...
|
@@ -359,13 +359,19 @@ class UserModel |
|
|
{
|
|
|
$result = array('code' => 400, 'message' => '出错啦~');
|
|
|
|
|
|
$record = UserData::delRecord($uid, $skn);
|
|
|
do {
|
|
|
if (empty($skn)) {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
// 处理数据
|
|
|
if ($record && isset($record['code'])) {
|
|
|
$result['code'] = $record['code'];
|
|
|
$result['message'] = $record['message'];
|
|
|
}
|
|
|
$record = UserData::delRecord($uid, $skn);
|
|
|
|
|
|
// 处理数据
|
|
|
if ($record && isset($record['code'])) {
|
|
|
$result['code'] = $record['code'];
|
|
|
$result['message'] = $record['message'];
|
|
|
}
|
|
|
} while (false);
|
|
|
|
|
|
return $result;
|
|
|
}
|
...
|
...
|
|