Browse Source

Update api.php

tags/6.2.7
tianya 1 year ago
parent
commit
500c7178a2
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/user/api.php

+ 1
- 2
src/user/api.php View File

@@ -215,7 +215,6 @@ if ($action === 'is_need_check_code') {
}
$uid = $cfg_ml->M_LoginID;
!$cfg_ml->fields['face'] && $face = ($cfg_ml->fields['sex'] == '女') ? 'dfgirl' : 'dfboy';
$facepic = empty($face) ? $cfg_ml->fields['face'] : $GLOBALS['cfg_memberurl'].'/templets/images/'.$face.'.png';
if ($format === 'json') {
echo json_encode(array(
"code" => 200,
@@ -223,7 +222,7 @@ if ($action === 'is_need_check_code') {
"data" => array(
"username" => $cfg_ml->M_UserName,
"myurl" => $myurl,
"facepic" => $facepic,
"facepic" => $cfg_ml->fields['face'],
"memberurl" => $cfg_memberurl,
),
));


Loading…
Cancel
Save