功能:二维码推广功能

This commit is contained in:
xiao12feng8 2026-02-01 13:59:38 +08:00
parent 774b12516f
commit 82914b355b
9 changed files with 1399 additions and 253 deletions

View File

@ -0,0 +1,18 @@
-- 添加邀请码相关字段
ALTER TABLE nf_user
ADD COLUMN invite_code VARCHAR(10) UNIQUE COMMENT '我的邀请码',
ADD COLUMN invited_by VARCHAR(10) COMMENT '被谁邀请(邀请码)',
ADD COLUMN invite_count INT DEFAULT 0 COMMENT '邀请人数',
ADD COLUMN invite_reward_total DECIMAL(10,2) DEFAULT 0.00 COMMENT '邀请奖励总额';
-- 为已有用户生成邀请码6位随机字符
UPDATE nf_user
SET invite_code = CONCAT(
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ23456789', FLOOR(1 + RAND() * 32), 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ23456789', FLOOR(1 + RAND() * 32), 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ23456789', FLOOR(1 + RAND() * 32), 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ23456789', FLOOR(1 + RAND() * 32), 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ23456789', FLOOR(1 + RAND() * 32), 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ23456789', FLOOR(1 + RAND() * 32), 1)
)
WHERE invite_code IS NULL;

View File

@ -31,6 +31,11 @@ class User(Base):
owned_outfit_ids = Column(JSON)
owned_voice_ids = Column(JSON)
vip_endtime = Column(BigInteger, default=0)
# 邀请码相关
invite_code = Column(String(10), unique=True)
invited_by = Column(String(10))
invite_count = Column(Integer, default=0)
invite_reward_total = Column(DECIMAL(10, 2), default=0.00)
class VoiceLibrary(Base):

View File

@ -492,3 +492,144 @@ def save_cloned_voice(
except Exception as e:
db.rollback()
raise HTTPException(status_code=500, detail=f"保存失败: {str(e)}")
# ===== 邀请码相关 =====
class InviteInfoResponse(BaseModel):
invite_code: str
invite_count: int
invite_reward_total: float
invite_url: str
model_config = ConfigDict(from_attributes=True)
class InviteRewardRequest(BaseModel):
invite_code: str
model_config = ConfigDict(from_attributes=True)
def _generate_invite_code() -> str:
"""生成6位邀请码不含易混淆字符"""
import random
import string
chars = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789' # 去掉 0O1I 等易混淆字符
return ''.join(random.choice(chars) for _ in range(6))
@router.get("/invite/info", response_model=ApiResponse[InviteInfoResponse])
def get_invite_info(
db: Session = Depends(get_db),
user: AuthedUser = Depends(get_current_user),
):
"""
获取用户的邀请信息
"""
user_row = db.query(User).filter(User.id == user.id).first()
if not user_row:
raise HTTPException(status_code=404, detail="用户不存在")
# 如果没有邀请码,生成一个
if not user_row.invite_code:
while True:
code = _generate_invite_code()
# 检查是否重复
existing = db.query(User).filter(User.invite_code == code).first()
if not existing:
user_row.invite_code = code
db.add(user_row)
db.flush()
break
# 生成邀请链接(这里使用简单的格式,实际可以是 H5 页面链接)
invite_url = f"https://your-domain.com/register?invite={user_row.invite_code}"
return success_response(
InviteInfoResponse(
invite_code=user_row.invite_code,
invite_count=user_row.invite_count or 0,
invite_reward_total=float(user_row.invite_reward_total or 0),
invite_url=invite_url
)
)
@router.post("/invite/apply", response_model=ApiResponse[dict])
def apply_invite_code(
payload: InviteRewardRequest,
db: Session = Depends(get_db),
user: AuthedUser = Depends(get_current_user),
):
"""
新用户使用邀请码注册后调用
"""
user_row = db.query(User).filter(User.id == user.id).with_for_update().first()
if not user_row:
raise HTTPException(status_code=404, detail="用户不存在")
# 检查是否已经使用过邀请码
if user_row.invited_by:
raise HTTPException(status_code=400, detail="您已经使用过邀请码")
# 不能使用自己的邀请码
if user_row.invite_code == payload.invite_code:
raise HTTPException(status_code=400, detail="不能使用自己的邀请码")
# 查找邀请人
inviter = db.query(User).filter(User.invite_code == payload.invite_code).with_for_update().first()
if not inviter:
raise HTTPException(status_code=404, detail="邀请码不存在")
# 奖励金额配置
INVITER_REWARD = 10.00 # 邀请人获得10金币
INVITEE_REWARD = 5.00 # 被邀请人获得5金币
# 给邀请人发放奖励
inviter.money = float(inviter.money or 0) + INVITER_REWARD
inviter.invite_count = (inviter.invite_count or 0) + 1
inviter.invite_reward_total = float(inviter.invite_reward_total or 0) + INVITER_REWARD
db.add(inviter)
# 记录邀请人的金币日志
db.add(
UserMoneyLog(
user_id=inviter.id,
money=Decimal(str(INVITER_REWARD)),
before=Decimal(str(float(inviter.money) - INVITER_REWARD)),
after=Decimal(str(inviter.money)),
memo=f"邀请新用户奖励",
createtime=int(time.time()),
)
)
# 给被邀请人发放奖励
user_row.money = float(user_row.money or 0) + INVITEE_REWARD
user_row.invited_by = payload.invite_code
db.add(user_row)
# 记录被邀请人的金币日志
db.add(
UserMoneyLog(
user_id=user.id,
money=Decimal(str(INVITEE_REWARD)),
before=Decimal(str(float(user_row.money) - INVITEE_REWARD)),
after=Decimal(str(user_row.money)),
memo=f"使用邀请码奖励",
createtime=int(time.time()),
)
)
try:
db.flush()
except IntegrityError:
db.rollback()
raise HTTPException(status_code=409, detail="操作失败,请重试")
return success_response({
"message": f"邀请码使用成功!您获得了{INVITEE_REWARD}金币",
"reward": INVITEE_REWARD,
"balance": float(user_row.money)
})

View File

@ -32,6 +32,19 @@
<view v-if="isDev" class="dev-tip">
<text>🔧 开发模式只需输入手机号即可登录</text>
</view>
<!-- 邀请码输入框 -->
<view class="list_content">
<view class="list_module fa">
<image src="/static/images/login_code.png" mode="widthFix"></image>
<input class="f1" v-model="inviteCode" placeholder="邀请码(选填)"
placeholder-class="list_input" />
</view>
<view v-if="inviteCode" class="invite-tip">
<text> 使用邀请码可获得5金币奖励</text>
</view>
</view>
<!-- <view class="list_content">
<view class="list_module fa">
<image src="/static/images/login_code.png" mode="widthFix"></image>
@ -132,6 +145,8 @@
},
dataLogin: [],
selectStats: false,
inviteCode: '', //
baseURLPy: 'http://127.0.0.1:8000',
}
},
computed: {
@ -139,8 +154,18 @@
return this.form.mobile.trim() !== '' && this.form.password.trim() !== '';
}
},
onLoad() {
console.log('登录页面',)
onLoad(options) {
console.log('登录页面')
// URL
if (options && options.invite) {
this.inviteCode = options.invite;
uni.showToast({
title: '已自动填入邀请码',
icon: 'success'
});
}
// #ifdef MP
this.Login()
// #endif
@ -380,11 +405,17 @@
})
uni.setStorageSync("token", res.data.userinfo.token)
uni.setStorageSync("userinfo", res.data.userinfo)
setTimeout(() => {
uni.navigateTo({
url: '/pages/index/index'
})
}, 1000);
// 使
if (this.inviteCode && this.inviteCode.trim()) {
this.applyInviteCode();
} else {
setTimeout(() => {
uni.navigateTo({
url: '/pages/index/index'
})
}, 1000);
}
} else if (res.code == 0) {
console.log('提示错误信息')
console.log(res)
@ -396,6 +427,44 @@
}
})
},
// 使
applyInviteCode() {
uni.request({
url: this.baseURLPy + '/config/invite/apply',
method: 'POST',
header: {
'Content-Type': 'application/json',
'token': uni.getStorageSync("token") || "",
},
data: {
invite_code: this.inviteCode
},
success: (res) => {
if (res.data.code === 1) {
uni.showToast({
title: res.data.data.message,
icon: 'success'
});
} else {
// 使
console.log('邀请码使用失败:', res.data.message);
}
},
fail: (err) => {
console.error('邀请码请求失败:', err);
},
complete: () => {
//
setTimeout(() => {
uni.navigateTo({
url: '/pages/index/index'
})
}, 1500);
}
});
},
selectClick() {
if (this.selectStats) {
this.selectStats = false
@ -529,6 +598,19 @@
line-height: 40rpx;
}
/* 邀请码提示 */
.invite-tip {
margin-top: 10rpx;
padding: 10rpx 20rpx;
background: #E8F5E9;
border-radius: 8rpx;
}
.invite-tip text {
font-size: 24rpx;
color: #2E7D32;
}
.list_module {
position: relative;
padding: 20rpx 30rpx;

View File

@ -1,254 +1,103 @@
<template>
<view>
<view class="body">
<view class="list">
<view class="poster-container">
<canvas canvas-id="posterCanvas" class="poster-canvas" :style="{ width: canvasWidth + 'px', height: canvasHeight + 'px' }"></canvas>
<view class="invite-info">
<view class="invite-code-box">
<text class="label">我的邀请码</text>
<text class="code">{{ inviteCode }}</text>
<view class="copy-btn" @click="copyInviteCode">复制</view>
</view>
<view class="invite-stats">
<view class="stat-item">
<text class="stat-value">{{ inviteCount }}</text>
<text class="stat-label">邀请人数</text>
</view>
<view class="stat-item">
<text class="stat-value">{{ inviteReward }}</text>
<text class="stat-label">累计奖励</text>
</view>
</view>
</view>
<!-- 二维码显示 -->
<view class="qrcode-container">
<view class="qrcode-title">扫描二维码获取邀请码</view>
<image
class="qrcode-image"
:src="qrCodeUrl"
mode="aspectFit"
@longpress="saveQRCode">
</image>
<view class="qrcode-tip">长按保存二维码分享给好友</view>
</view>
<view class="invite-rule">
<text class="rule-title">邀请规则</text>
<text class="rule-item"> 分享邀请码或二维码给好友</text>
<text class="rule-item"> 好友扫码或输入邀请码注册</text>
<text class="rule-item"> 您获得10金币好友获得5金币</text>
<text class="rule-item"> 金币可用于购买会员音色等</text>
</view>
</view>
</view>
</template>
<script>
import {
} from '@/utils/api.js'
import notHave from '@/components/not-have.vue';
import topSafety from '@/components/top-safety.vue';
import tabBar from '@/components/tab-bar.vue';
export default {
components: {
notHave,
topSafety,
tabBar,
},
data() {
return {
canvasWidth: 300,
canvasHeight: 600, //
posterImageUrl: '',
//
userInfo: {
name: '154****9090', //
phone: '邀请您加入聊天', //
avatar: '/static/images/avatar.png' //
},
topImageRatio: 0, //
topImageLocalPath: '', //
qrCodeLocalPath: '' //
inviteCode: '',
inviteCount: 0,
inviteReward: 0,
qrCodeUrl: '',
baseURLPy: 'http://127.0.0.1:8000',
}
},
onLoad() {
this.initCanvas();
},
onReady() {
//
setTimeout(() => {
this.downloadImages().then(() => {
this.generatePoster();
}).catch(err => {
console.error('下载图片失败:', err);
uni.hideLoading();
uni.showToast({
title: '图片加载失败',
icon: 'none'
});
});
}, 500);
this.getInviteInfo();
},
methods: {
initCanvas() {
//
const systemInfo = uni.getSystemInfoSync();
// canvas90%
this.canvasWidth = systemInfo.windowWidth * 0.9;
// canvas
this.canvasHeight = this.canvasWidth * 2.0; // 1.8:1
getInviteInfo() {
uni.request({
url: this.baseURLPy + '/config/invite/info',
method: 'GET',
header: {
'token': uni.getStorageSync("token") || "",
},
success: (res) => {
if (res.data.code === 1) {
const data = res.data.data;
this.inviteCode = data.invite_code;
this.inviteCount = data.invite_count;
this.inviteReward = data.invite_reward_total;
// URL
this.qrCodeUrl = `https://api.qrserver.com/v1/create-qr-code/?size=400x400&data=${encodeURIComponent(this.inviteCode)}`;
}
},
fail: (err) => {
console.error('获取邀请信息失败:', err);
}
});
},
// 线
async downloadImages() {
return new Promise((resolve, reject) => {
uni.showLoading({
title: '图片加载中...'
});
// #ifdef H5
// H5 使 URL
const topImageUrl = 'https://nvlovers.oss-cn-qingdao.aliyuncs.com/uploads/20251226/cb61a8209c59166e5a56e9c5c470e8f1.png';
const qrCodeUrl = 'https://nvlovers.oss-cn-qingdao.aliyuncs.com/uploads/20251226/54a0da02080e49dbf2d6412791c58281.png';
this.topImageLocalPath = topImageUrl;
this.qrCodeLocalPath = qrCodeUrl;
//
uni.getImageInfo({
src: topImageUrl,
success: (res) => {
this.topImageRatio = res.width / res.height;
resolve();
},
fail: (err) => {
console.error('获取图片信息失败:', err);
this.topImageRatio = 3;
resolve();
}
});
// #endif
// #ifndef H5
// H5
Promise.all([
this.downloadImage('https://nvlovers.oss-cn-qingdao.aliyuncs.com/uploads/20251226/cb61a8209c59166e5a56e9c5c470e8f1.png'),
this.downloadImage('https://nvlovers.oss-cn-qingdao.aliyuncs.com/uploads/20251226/54a0da02080e49dbf2d6412791c58281.png')
]).then(([topImagePath, qrCodePath]) => {
this.topImageLocalPath = topImagePath;
this.qrCodeLocalPath = qrCodePath;
//
uni.getImageInfo({
src: topImagePath,
success: (res) => {
this.topImageRatio = res.width / res.height;
resolve();
},
fail: (err) => {
console.error('获取图片信息失败:', err);
this.topImageRatio = 3;
resolve();
}
copyInviteCode() {
uni.setClipboardData({
data: this.inviteCode,
success: () => {
uni.showToast({
title: '邀请码已复制',
icon: 'success'
});
}).catch(err => {
console.error('下载图片失败:', err);
reject(err);
});
// #endif
}
});
},
//
downloadImage(url) {
return new Promise((resolve, reject) => {
uni.downloadFile({
url: url,
success: (res) => {
if (res.statusCode === 200) {
resolve(res.tempFilePath);
} else {
reject(new Error(`下载失败: ${res.statusCode}`));
}
},
fail: (err) => {
reject(err);
}
});
});
},
//
drawRoundedRect(ctx, x, y, width, height, radius) {
ctx.beginPath();
ctx.moveTo(x + radius, y);
ctx.lineTo(x + width - radius, y);
ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
ctx.lineTo(x + width, y + height - radius);
ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
ctx.lineTo(x + radius, y + height);
ctx.quadraticCurveTo(x, y + height, x, y + height - radius);
ctx.lineTo(x, y + radius);
ctx.quadraticCurveTo(x, y, x + radius, y);
ctx.closePath();
ctx.fill();
},
generatePoster() {
uni.showLoading({
title: '海报生成中...'
});
const ctx = uni.createCanvasContext('posterCanvas', this);
//
ctx.clearRect(0, 0, this.canvasWidth, this.canvasHeight);
//
ctx.setFillStyle('#ffffff');
this.drawRoundedRect(ctx, 0, 0, this.canvasWidth, this.canvasHeight, 20);
//
const centerX = this.canvasWidth / 2;
// canvas
const topImageWidth = this.canvasWidth;
//
const topImageHeight = this.topImageRatio > 0 ? topImageWidth / this.topImageRatio : topImageWidth * 0.3;
const topImageX = 0;
const topImageY = 0; //
ctx.drawImage(this.topImageLocalPath, topImageX, topImageY, topImageWidth, topImageHeight);
//
const qrCodeSize = this.canvasWidth * 0.5; //
const qrCodeY = topImageHeight + 30; //
const qrCodeX = (this.canvasWidth - qrCodeSize) / 2;
ctx.drawImage(this.qrCodeLocalPath, qrCodeX, qrCodeY, qrCodeSize, qrCodeSize);
//
const userInfoY = qrCodeY + qrCodeSize + 10;
const avatarSize = this.canvasWidth * 0.15;
//
const textHeight = 40; //
const totalHeight = Math.max(avatarSize, textHeight);
const avatarY = userInfoY + (totalHeight - avatarSize) / 2;
const textY = userInfoY + (totalHeight - textHeight) / 2;
//
const avatarX = (this.canvasWidth - (avatarSize + this.canvasWidth * 0.4)) / 2;
//
ctx.save();
ctx.beginPath();
ctx.arc(avatarX + avatarSize/2, avatarY + avatarSize/2, avatarSize/2, 0, 2 * Math.PI);
ctx.clip();
ctx.drawImage(this.userInfo.avatar, avatarX, avatarY, avatarSize, avatarSize);
ctx.restore();
//
const textAreaX = avatarX + avatarSize + 20;
ctx.setTextAlign('left');
ctx.setFontSize(18);
ctx.setFillStyle('#333333');
ctx.fillText(this.userInfo.name, textAreaX, textY + 20); //
ctx.setFontSize(14);
ctx.setFillStyle('#999999');
ctx.fillText(this.userInfo.phone, textAreaX, textY + 45); //
//
ctx.draw(false, () => {
//
setTimeout(() => {
uni.canvasToTempFilePath({
canvasId: 'posterCanvas',
success: (res) => {
this.posterImageUrl = res.tempFilePath;
uni.hideLoading();
uni.showToast({
title: '海报生成成功',
icon: 'success'
});
},
fail: (err) => {
console.error('生成海报失败:', err);
uni.hideLoading();
uni.showToast({
title: '海报生成失败',
icon: 'none'
});
}
}, this);
}, 3000);
saveQRCode() {
uni.showModal({
title: '提示',
content: '长按二维码可保存到相册',
showCancel: false
});
}
}
@ -257,30 +106,125 @@
<style>
page {
background: #FFFFFF;
background: #F6F8FA;
}
</style>
<style>
.body {
position: relative;
padding: 0 20rpx; /* 减少左右padding */
padding: 20rpx;
}
.list {
position: relative;
margin: 20rpx 0 0 0;
}
.poster-container {
display: flex;
flex-direction: column;
align-items: center;
/* 邀请信息卡片 */
.invite-info {
background: linear-gradient(135deg, #9F47FF 0%, #0053FA 100%);
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 30rpx;
}
.poster-canvas {
background-color: #f5f5f5;
/* 移除之前的圆角设置因为现在在canvas中绘制 */
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
.invite-code-box {
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(255, 255, 255, 0.2);
border-radius: 12rpx;
padding: 20rpx 30rpx;
margin-bottom: 30rpx;
}
.invite-code-box .label {
color: #FFFFFF;
font-size: 28rpx;
}
.invite-code-box .code {
color: #FFFFFF;
font-size: 36rpx;
font-weight: bold;
letter-spacing: 4rpx;
}
.copy-btn {
background: #FFFFFF;
color: #9F47FF;
padding: 10rpx 30rpx;
border-radius: 30rpx;
font-size: 26rpx;
}
.invite-stats {
display: flex;
justify-content: space-around;
}
.stat-item {
display: flex;
flex-direction: column;
align-items: center;
}
.stat-value {
color: #FFFFFF;
font-size: 40rpx;
font-weight: bold;
margin-bottom: 10rpx;
}
.stat-label {
color: rgba(255, 255, 255, 0.8);
font-size: 24rpx;
}
/* 二维码容器 */
.qrcode-container {
background: #FFFFFF;
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.qrcode-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
margin-bottom: 30rpx;
}
.qrcode-image {
width: 400rpx;
height: 400rpx;
border: 2rpx solid #E0E0E0;
border-radius: 10rpx;
margin-bottom: 20rpx;
}
.qrcode-tip {
font-size: 24rpx;
color: #999;
}
/* 邀请规则 */
.invite-rule {
background: #FFFFFF;
border-radius: 20rpx;
padding: 30rpx;
}
.rule-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
display: block;
margin-bottom: 20rpx;
}
.rule-item {
font-size: 28rpx;
color: #666;
line-height: 50rpx;
display: block;
}
</style>

View File

@ -23702,3 +23702,958 @@ File
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000767s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002709s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000820s ]
---------------------------------------------------------------
[ 2026-02-01T13:42:26+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.098048s] [吞吐率10.20req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000023s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003957s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003999s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001287s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000043s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001837s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000538s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000463s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000793s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001840s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000047s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001513s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001587s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000536s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002528s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000676s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001597s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001416s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000424s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001552s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000868s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001819s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000726s ]
---------------------------------------------------------------
[ 2026-02-01T13:44:53+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.096217s] [吞吐率10.39req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000022s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003987s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004037s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001693s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000047s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002805s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000968s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000712s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000961s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001980s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000049s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001264s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001614s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000442s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003209s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000807s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000790s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001823s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001454s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000411s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001376s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000570s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001510s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000573s ]
---------------------------------------------------------------
[ 2026-02-01T13:45:03+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.093047s] [吞吐率10.75req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000024s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004204s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004243s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001284s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000027s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001774s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000528s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000470s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000856s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001948s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000049s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001218s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001594s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000455s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002061s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000695s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000642s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001622s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001421s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001404s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000490s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001477s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000538s ]
---------------------------------------------------------------
[ 2026-02-01T13:53:18+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.092474s] [吞吐率10.81req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000026s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.005344s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.005387s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001164s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000026s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001604s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000457s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000391s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000796s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001834s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000044s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001152s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001507s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000399s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001999s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000578s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001497s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000428s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001293s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000410s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001261s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000468s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001316s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000494s ]
---------------------------------------------------------------
[ 2026-02-01T13:54:38+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.094500s] [吞吐率10.58req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000041s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003441s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003473s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001095s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000023s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001679s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000707s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000617s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000786s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001746s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000042s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001474s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001696s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000546s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002082s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000640s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000453s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001511s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001399s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001374s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000502s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001539s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000539s ]
---------------------------------------------------------------
[ 2026-02-01T13:56:11+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.087075s] [吞吐率11.48req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004024s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004059s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001252s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000025s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001679s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000470s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000405s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000791s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001804s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000044s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001317s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001658s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000463s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002229s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000652s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000472s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001656s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000475s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001581s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001387s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001682s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000620s ]
---------------------------------------------------------------
[ 2026-02-01T13:57:04+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.108261s] [吞吐率9.24req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000022s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003786s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003821s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001196s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000025s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001816s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000506s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000438s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000874s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001903s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000049s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.019978s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001753s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000809s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002108s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000622s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000502s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001609s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001461s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001308s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000517s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001432s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000510s ]
---------------------------------------------------------------
[ 2026-02-01T13:57:06+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.122882s] [吞吐率8.14req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000025s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003857s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003892s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001199s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000027s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001832s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000509s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000477s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000861s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001910s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000048s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.024925s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001728s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003292s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000979s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000843s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001576s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001408s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000391s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001276s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001395s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000888s ]
---------------------------------------------------------------
[ 2026-02-01T13:57:59+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.089207s] [吞吐率11.21req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003763s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003798s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001191s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000029s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001846s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000515s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000446s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000776s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001766s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000044s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001204s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001722s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000535s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002225s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000653s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000419s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001473s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000454s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001380s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001281s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000488s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001423s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000530s ]
---------------------------------------------------------------
[ 2026-02-01T13:59:01+08:00 ] 127.0.0.1 OPTIONS 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.059643s] [吞吐率16.77req/s] [内存消耗2,648.82kb] [文件加载71]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000022s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003874s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003905s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001305s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000025s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'accept-encoding' => 'gzip, deflate, br',
'referer' => 'http://localhost:5173/',
'sec-fetch-dest' => 'empty',
'sec-fetch-site' => 'cross-site',
'sec-fetch-mode' => 'cors',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 Edg/100.0.1185.36',
'origin' => 'http://localhost:5173',
'access-control-request-headers' => 'authorization,sid,token,x-user-id',
'access-control-request-method' => 'GET',
'accept' => '*/*',
'cache-control' => 'no-cache',
'pragma' => 'no-cache',
'connection' => 'keep-alive',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001718s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000497s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000436s ]
[ info ] [ LOG ] INIT File
---------------------------------------------------------------
[ 2026-02-01T13:59:01+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.087708s] [吞吐率11.40req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003280s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003312s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000944s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000023s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001473s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000420s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000336s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000656s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001594s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000048s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.014167s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001436s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000410s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001907s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000592s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000470s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001297s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001344s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001271s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000640s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001524s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000567s ]
---------------------------------------------------------------
[ 2026-02-01T13:59:01+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.103710s] [吞吐率9.64req/s] [内存消耗4,272.90kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.002702s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002728s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000749s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000021s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'connection' => 'keep-alive',
'accept' => '*/*',
'accept-encoding' => 'gzip, deflate, zstd',
'user-agent' => 'python-requests/2.32.5',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001303s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000378s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000307s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001178s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002987s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000090s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.020502s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001610s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000684s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002424s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000919s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000882s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002769s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000890s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002156s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000507s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002126s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000891s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002648s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.001013s ]
---------------------------------------------------------------
[ 2026-02-01T13:59:01+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.182108s] [吞吐率5.49req/s] [内存消耗4,280.89kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.002824s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002852s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000799s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000021s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'accept-encoding' => 'gzip, deflate, br',
'referer' => 'http://localhost:5173/',
'sec-fetch-dest' => 'empty',
'sec-fetch-mode' => 'cors',
'sec-fetch-site' => 'cross-site',
'origin' => 'http://localhost:5173',
'accept' => '*/*',
'sec-ch-ua-platform' => '"Windows"',
'x-user-id' => '84',
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 Edg/100.0.1185.36',
'authorization' => 'Bearer 2ea3606b-6fca-4ede-9151-41b8c50a3207',
'sec-ch-ua-mobile' => '?0',
'sid' => '2',
'sec-ch-ua' => '" Not A;Brand";v="99", "Chromium";v="100", "Microsoft Edge";v="100"',
'cache-control' => 'no-cache',
'pragma' => 'no-cache',
'connection' => 'keep-alive',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001420s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000403s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000333s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000655s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001652s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000049s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.021271s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001492s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000681s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001905s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000563s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000453s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001343s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001275s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001219s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001503s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000546s ]
---------------------------------------------------------------
[ 2026-02-01T13:59:04+08:00 ] 127.0.0.1 OPTIONS 127.0.0.1:8080/api/user_basic/get_hobbies
[运行时间0.045996s] [吞吐率21.74req/s] [内存消耗2,648.73kb] [文件加载71]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000022s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003236s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003269s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000934s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000026s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_hobbies',
),
)
[ info ] [ HEADER ] array (
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'accept-encoding' => 'gzip, deflate, br',
'referer' => 'http://localhost:5173/',
'sec-fetch-dest' => 'empty',
'sec-fetch-site' => 'cross-site',
'sec-fetch-mode' => 'cors',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 Edg/100.0.1185.36',
'origin' => 'http://localhost:5173',
'access-control-request-headers' => 'authorization,sid,token,x-user-id',
'access-control-request-method' => 'GET',
'accept' => '*/*',
'cache-control' => 'no-cache',
'pragma' => 'no-cache',
'connection' => 'keep-alive',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001507s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000431s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000356s ]
[ info ] [ LOG ] INIT File
---------------------------------------------------------------
[ 2026-02-01T13:59:04+08:00 ] 127.0.0.1 OPTIONS 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.045721s] [吞吐率21.87req/s] [内存消耗2,648.82kb] [文件加载71]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003255s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003292s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000942s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000026s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'accept-encoding' => 'gzip, deflate, br',
'referer' => 'http://localhost:5173/',
'sec-fetch-dest' => 'empty',
'sec-fetch-site' => 'cross-site',
'sec-fetch-mode' => 'cors',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 Edg/100.0.1185.36',
'origin' => 'http://localhost:5173',
'access-control-request-headers' => 'authorization,sid,token,x-user-id',
'access-control-request-method' => 'GET',
'accept' => '*/*',
'cache-control' => 'no-cache',
'pragma' => 'no-cache',
'connection' => 'keep-alive',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001543s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000419s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000352s ]
[ info ] [ LOG ] INIT File
---------------------------------------------------------------
[ 2026-02-01T13:59:04+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_hobbies
[运行时间0.089999s] [吞吐率11.11req/s] [内存消耗4,218.09kb] [文件加载88]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000022s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003102s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003134s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000873s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000024s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_hobbies',
),
)
[ info ] [ HEADER ] array (
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'accept-encoding' => 'gzip, deflate, br',
'referer' => 'http://localhost:5173/',
'sec-fetch-dest' => 'empty',
'sec-fetch-mode' => 'cors',
'sec-fetch-site' => 'cross-site',
'origin' => 'http://localhost:5173',
'accept' => '*/*',
'sec-ch-ua-platform' => '"Windows"',
'x-user-id' => '84',
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 Edg/100.0.1185.36',
'authorization' => 'Bearer 2ea3606b-6fca-4ede-9151-41b8c50a3207',
'sec-ch-ua-mobile' => '?0',
'sid' => '2',
'sec-ch-ua' => '" Not A;Brand";v="99", "Chromium";v="100", "Microsoft Edge";v="100"',
'cache-control' => 'no-cache',
'pragma' => 'no-cache',
'connection' => 'keep-alive',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001445s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000421s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000366s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000618s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001497s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000044s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_hobbies[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.024096s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001561s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000479s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001920s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000601s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_hobbies` [ RunTime:0.001461s ]
[ sql ] [ SQL ] SELECT * FROM `nf_hobbies` WHERE `user_id` = 0 AND `deletetime` IS NULL ORDER BY `weigh` DESC [ RunTime:0.000639s ]
[ sql ] [ SQL ] SELECT * FROM `nf_hobbies` WHERE `deletetime` IS NULL AND `user_id` = 70 ORDER BY `createtime` ASC [ RunTime:0.000489s ]
---------------------------------------------------------------
[ 2026-02-01T13:59:04+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic
[运行时间0.083737s] [吞吐率11.94req/s] [内存消耗4,280.89kb] [文件加载92]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.002678s ]
[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002704s ]
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000776s ]
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\thinkphp\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000021s ]
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'api',
1 => 'user_basic',
2 => 'get_user_basic',
),
)
[ info ] [ HEADER ] array (
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'accept-encoding' => 'gzip, deflate, br',
'referer' => 'http://localhost:5173/',
'sec-fetch-dest' => 'empty',
'sec-fetch-mode' => 'cors',
'sec-fetch-site' => 'cross-site',
'origin' => 'http://localhost:5173',
'accept' => '*/*',
'sec-ch-ua-platform' => '"Windows"',
'x-user-id' => '84',
'token' => '2ea3606b-6fca-4ede-9151-41b8c50a3207',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 Edg/100.0.1185.36',
'authorization' => 'Bearer 2ea3606b-6fca-4ede-9151-41b8c50a3207',
'sec-ch-ua-mobile' => '?0',
'sid' => '2',
'sec-ch-ua' => '" Not A;Brand";v="99", "Chromium";v="100", "Microsoft Edge";v="100"',
'cache-control' => 'no-cache',
'pragma' => 'no-cache',
'connection' => 'keep-alive',
'host' => '127.0.0.1:8080',
'content-length' => '',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\public/../application/api\lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.001269s ]
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000344s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000298s ]
[ info ] [ TOKEN ] INIT Mysql
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000645s ]
[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001576s ]
[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000048s ]
[ info ] [ RUN ] app\api\controller\UserBasic->get_user_basic[ C:\Users\Administrator\Desktop\Project\AI_GirlFriend\xunifriend_RaeeC\application\api\controller\UserBasic.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.016341s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001592s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000457s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002189s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000600s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000472s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001434s ]
[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001544s ]
[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000447s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001388s ]
[ sql ] [ SQL ] SELECT SUM(intimacy) AS tp_sum FROM `nf_user_bond_log` WHERE `user_id` = 70 AND `createdate` = '2026-02-01' LIMIT 1 [ RunTime:0.000560s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001464s ]
[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000542s ]

View File

@ -7,3 +7,4 @@
- [ ] 恋人消息回复和消息编辑都需要测试
6. 将Hbuilder的AppId更换成自己的原本的保留(__UNI__1F3C178)。还是无法正常编译将下面的插件注释掉不用Agora-RTC音视频插件和AudioRecode录音插件。
- [ ] 克隆音色API填写然后给你测试
7. 二维码推广功能: