diff --git a/lover/__pycache__/models.cpython-314.pyc b/lover/__pycache__/models.cpython-314.pyc index 637c15c..712cc9c 100644 Binary files a/lover/__pycache__/models.cpython-314.pyc and b/lover/__pycache__/models.cpython-314.pyc differ diff --git a/lover/migrations/add_message_edit_fields.sql b/lover/migrations/add_message_edit_fields.sql new file mode 100644 index 0000000..58b6932 --- /dev/null +++ b/lover/migrations/add_message_edit_fields.sql @@ -0,0 +1,8 @@ +-- 添加消息编辑相关字段 +ALTER TABLE nf_chat_message +ADD COLUMN is_edited TINYINT(1) DEFAULT 0 COMMENT '是否被编辑过', +ADD COLUMN original_content TEXT COMMENT '原始内容', +ADD COLUMN edited_at DATETIME COMMENT '编辑时间'; + +-- 添加索引 +CREATE INDEX idx_message_edited ON nf_chat_message(is_edited, session_id); diff --git a/lover/models.py b/lover/models.py index e8300cb..e7b0111 100644 --- a/lover/models.py +++ b/lover/models.py @@ -320,6 +320,10 @@ class ChatMessage(Base): tts_duration_ms = Column(Integer) tts_error = Column(String(255)) created_at = Column(DateTime, default=datetime.utcnow) + # 编辑相关字段 + is_edited = Column(Boolean, default=False) + original_content = Column(Text) + edited_at = Column(DateTime) class ChatSummary(Base): diff --git a/lover/routers/__pycache__/chat.cpython-314.pyc b/lover/routers/__pycache__/chat.cpython-314.pyc index 7790c3f..a80f9eb 100644 Binary files a/lover/routers/__pycache__/chat.cpython-314.pyc and b/lover/routers/__pycache__/chat.cpython-314.pyc differ diff --git a/lover/routers/chat.py b/lover/routers/chat.py index 68784d7..028ddf1 100644 --- a/lover/routers/chat.py +++ b/lover/routers/chat.py @@ -1162,3 +1162,123 @@ def get_chat_config( is_vip=_is_vip(user_row), ) ) + + + +# ==================== 消息编辑功能 ==================== + +class EditMessageIn(BaseModel): + new_content: str = Field(..., min_length=1, max_length=4000, description="新的消息内容") + regenerate_reply: bool = Field(default=True, description="是否重新生成AI回复") + + +class EditMessageOut(BaseModel): + message_id: int + new_content: str + regenerated: bool + new_reply: Optional[str] = None + + +@router.put("/messages/{message_id}/edit", response_model=ApiResponse[EditMessageOut]) +def edit_message( + message_id: int, + payload: EditMessageIn, + db: Session = Depends(get_db), + user: AuthedUser = Depends(get_current_user), +): + """ + 编辑历史消息并可选重新生成AI回复 + """ + # 1. 查找消息 + msg = ( + db.query(ChatMessage) + .filter(ChatMessage.id == message_id, ChatMessage.user_id == user.id) + .with_for_update() + .first() + ) + if not msg: + raise HTTPException(status_code=404, detail="消息不存在") + + # 允许编辑AI消息(lover角色) + if msg.role not in ["user", "lover"]: + raise HTTPException(status_code=400, detail="只能编辑用户或AI消息") + + # 2. 保存原始内容(首次编辑时) + if not msg.is_edited: + msg.original_content = msg.content + + # 3. 更新消息 + msg.content = payload.new_content + msg.is_edited = True + msg.edited_at = datetime.utcnow() + db.add(msg) + db.flush() + + # 4. 删除该消息之后的摘要(需要重新生成) + db.query(ChatSummary).filter( + ChatSummary.session_id == msg.session_id, + ChatSummary.upto_seq >= msg.seq + ).delete() + db.flush() + + new_reply = None + regenerated = False + + # 5. 重新生成AI回复(仅当编辑用户消息时) + if payload.regenerate_reply and msg.role == "user": + # 找到紧接着的AI回复 + next_lover_msg = ( + db.query(ChatMessage) + .filter( + ChatMessage.session_id == msg.session_id, + ChatMessage.seq == msg.seq + 1, + ChatMessage.role == "lover" + ) + .with_for_update() + .first() + ) + + if next_lover_msg: + # 获取会话和恋人信息 + session = db.query(ChatSession).filter(ChatSession.id == msg.session_id).first() + lover = db.query(Lover).filter(Lover.id == msg.lover_id).first() + + if session and lover: + # 构建上下文(使用修改后的消息) + inner_voice_enabled = session.inner_voice_enabled or False + context_messages = _build_context_messages(db, session, lover, user, inner_voice_enabled) + + # 调用LLM重新生成 + llm_result = chat_completion( + context_messages, + temperature=settings.LLM_TEMPERATURE, + max_tokens=settings.LLM_MAX_TOKENS, + seed=_pick_llm_seed(), + ) + + new_reply = llm_result.content or "" + if not inner_voice_enabled: + new_reply = _strip_inner_voice_text(new_reply) + + # 更新AI回复 + next_lover_msg.content = new_reply + next_lover_msg.is_edited = True + next_lover_msg.edited_at = datetime.utcnow() + next_lover_msg.token_input = (llm_result.usage or {}).get("input_tokens") + next_lover_msg.token_output = (llm_result.usage or {}).get("output_tokens") + db.add(next_lover_msg) + db.flush() + + regenerated = True + + # 触发摘要重新生成 + _maybe_generate_summary(db, session, upto_seq=next_lover_msg.seq) + + return success_response( + EditMessageOut( + message_id=msg.id, + new_content=msg.content, + regenerated=regenerated, + new_reply=new_reply, + ) + ) diff --git a/xuniYou/pages/chat/index.vue b/xuniYou/pages/chat/index.vue index 3b098e9..ff15d24 100644 --- a/xuniYou/pages/chat/index.vue +++ b/xuniYou/pages/chat/index.vue @@ -41,7 +41,11 @@ : (myavatar ? myavatar : '/static/images/avatar.png')" mode="aspectFill"> - + + + ✏️ + + @@ -233,6 +237,24 @@ + + + + + 编辑消息 + + 编辑后将更新AI的记忆,下次对话时生效 + + 取消 + 确认 + + + @@ -325,7 +347,12 @@ currentVideoUrl: '', // 添加当前视频URL变量 singSongsList: [], //歌曲列表 songId: 0, - chatBackground: '' // 聊天背景 + chatBackground: '', // 聊天背景 + // 消息编辑相关 + editModalVisible: false, + editingMessage: null, + baseURL: 'http://127.0.0.1:8080', + baseURLPy: 'http://127.0.0.1:8000', } }, onLoad() { @@ -1746,6 +1773,77 @@ console.log('已停止轮询监听1'); } }, + // 长按消息 + onMessageLongPress(message) { + // 只能编辑AI的消息 + if (message.role !== 'lover') { + return; + } + + this.editingMessage = { + id: message.id, + content: message.content, + seq: message.seq + }; + this.editModalVisible = true; + }, + // 取消编辑 + cancelEdit() { + this.editModalVisible = false; + this.editingMessage = null; + }, + // 确认编辑 + confirmEdit() { + if (!this.editingMessage.content.trim()) { + uni.showToast({ + title: '消息内容不能为空', + icon: 'none' + }); + return; + } + + uni.showLoading({ title: '更新中...' }); + + uni.request({ + url: this.baseURLPy + `/chat/messages/${this.editingMessage.id}/edit`, + method: 'PUT', + header: { + 'token': uni.getStorageSync("token") || "", + 'Authorization': (uni.getStorageSync("token") ? ('Bearer ' + uni.getStorageSync("token")) : ""), + 'X-User-Id': '84' + }, + data: { + new_content: this.editingMessage.content, + regenerate_reply: false // 不重新生成回复,只更新记忆 + }, + success: (res) => { + uni.hideLoading(); + if (res.data.code === 1) { + uni.showToast({ + title: '编辑成功', + icon: 'success' + }); + + // 刷新消息列表 + this.sessionInit(); + this.editModalVisible = false; + } else { + uni.showToast({ + title: res.data.msg || '编辑失败', + icon: 'none' + }); + } + }, + fail: (error) => { + uni.hideLoading(); + console.error('编辑消息失败', error); + uni.showToast({ + title: '编辑失败', + icon: 'none' + }); + } + }); + }, }, // 页面卸载时停止轮询 onUnload() { @@ -1918,6 +2016,28 @@ .message-content { max-width: 70%; + position: relative; + } + + /* 编辑图标 */ + .edit-icon { + position: absolute; + top: 0; + left: -50rpx; /* AI消息在左边,图标也在左边 */ + width: 40rpx; + height: 40rpx; + display: flex; + align-items: center; + justify-content: center; + background: rgba(255, 255, 255, 0.9); + border-radius: 50%; + box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1); + cursor: pointer; + z-index: 10; + } + + .edit-icon text { + font-size: 24rpx; } .message-bubble { @@ -2602,4 +2722,76 @@ color: #FFFFFF; background: linear-gradient(135deg, #9F47FF 0%, #0053FA 100%), #D8D8D8; } + + /* 消息编辑弹窗样式 */ + .edit-modal { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + justify-content: center; + z-index: 9999; + } + + .edit-content { + width: 80%; + max-width: 600rpx; + background: #fff; + border-radius: 20rpx; + padding: 40rpx; + } + + .edit-title { + font-size: 32rpx; + font-weight: bold; + margin-bottom: 20rpx; + text-align: center; + color: #333; + } + + .edit-textarea { + width: 100%; + min-height: 200rpx; + padding: 20rpx; + border: 1rpx solid #ddd; + border-radius: 10rpx; + font-size: 28rpx; + margin-bottom: 20rpx; + box-sizing: border-box; + } + + .edit-tip { + font-size: 24rpx; + color: #999; + margin-bottom: 30rpx; + line-height: 1.5; + } + + .edit-buttons { + display: flex; + justify-content: space-between; + gap: 20rpx; + } + + .edit-btn { + flex: 1; + padding: 20rpx; + text-align: center; + border-radius: 10rpx; + font-size: 28rpx; + } + + .edit-btn.cancel { + background: #f5f5f5; + color: #666; + } + + .edit-btn.confirm { + background: linear-gradient(135deg, #9F47FF 0%, #0053FA 100%); + color: #fff; + } \ No newline at end of file diff --git a/xunifriend_RaeeC/runtime/log/202602/01.log b/xunifriend_RaeeC/runtime/log/202602/01.log index a27fc43..51e8af2 100644 --- a/xunifriend_RaeeC/runtime/log/202602/01.log +++ b/xunifriend_RaeeC/runtime/log/202602/01.log @@ -14546,3 +14546,2355 @@ T 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.000505s ] [ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001458s ] [ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000548s ] +--------------------------------------------------------------- +[ 2026-02-01T11:17:58+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.098406s] [吞吐率:10.16req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000030s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004249s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004288s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001356s ] +[ 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.002069s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000599s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000528s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000884s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001936s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000053s ] +[ 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.001252s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001487s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000680s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002052s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000679s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000570s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001526s ] +[ 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.001519s ] +[ 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.001420s ] +[ 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.000571s ] +[ 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-01T11:17:58+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.101433s] [吞吐率:9.86req/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.003887s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003926s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001239s ] +[ 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.001753s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000531s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000444s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000862s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001944s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000050s ] +[ 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.001515s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001777s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000667s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003492s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001107s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000714s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002570s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000687s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002630s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000622s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002418s ] +[ 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.000786s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002598s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000736s ] +--------------------------------------------------------------- +[ 2026-02-01T11:18:02+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.101562s] [吞吐率:9.85req/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.003858s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003892s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001393s ] +[ 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.001792s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000513s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000453s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000858s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001943s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000057s ] +[ 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.001390s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001750s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000473s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002148s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000696s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000637s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001780s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000566s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001560s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000700s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001624s ] +[ 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.000555s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001569s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000605s ] +--------------------------------------------------------------- +[ 2026-02-01T11:18:02+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.098730s] [吞吐率:10.13req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000037s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003948s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003982s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001290s ] +[ 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.001746s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000512s ] +[ 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.000867s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001996s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000050s ] +[ 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.001636s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002465s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000429s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002000s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001033s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000636s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001357s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000438s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001354s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000407s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001241s ] +[ 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.001356s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000551s ] +--------------------------------------------------------------- +[ 2026-02-01T11:18:03+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.074893s] [吞吐率:13.35req/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.003091s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003128s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000855s ] +[ 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.000030s ] +[ 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.001522s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000450s ] +[ 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.000645s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001589s ] +[ 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.001260s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001593s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000454s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001964s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000647s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000445s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001420s ] +[ 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.001412s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000421s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001394s ] +[ 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.000496s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001424s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000888s ] +--------------------------------------------------------------- +[ 2026-02-01T11:18:03+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.097031s] [吞吐率:10.31req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003067s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003101s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000857s ] +[ 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.001528s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000454s ] +[ 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.000651s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001583s ] +[ 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.017900s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001358s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000437s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002000s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000996s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000690s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002711s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000790s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002521s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000631s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002380s ] +[ 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.000799s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002569s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000827s ] +--------------------------------------------------------------- +[ 2026-02-01T11:18:53+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.087662s] [吞吐率:11.41req/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.003110s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003152s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000819s ] +[ 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.000033s ] +[ 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.002053s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000575s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000489s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000688s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001640s ] +[ 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.011241s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001641s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000433s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002087s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000699s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000574s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001685s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000487s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001386s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000472s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001415s ] +[ 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.000530s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001486s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000533s ] +--------------------------------------------------------------- +[ 2026-02-01T11:18:53+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.089990s] [吞吐率:11.11req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003408s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003446s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000855s ] +[ 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.001706s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000418s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000352s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000886s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002236s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000065s ] +[ 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.012122s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001612s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000443s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002014s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000687s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000535s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001374s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000465s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001552s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000412s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001381s ] +[ 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.000499s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001482s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000531s ] +--------------------------------------------------------------- +[ 2026-02-01T11:19:40+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.103693s] [吞吐率:9.64req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000039s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004085s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004129s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001104s ] +[ 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.000032s ] +[ 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.001683s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000598s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000497s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000704s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001693s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000051s ] +[ 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.020734s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001755s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000526s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002712s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000663s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000543s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001677s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000591s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001511s ] +[ 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.001361s ] +[ 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.000520s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001436s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000587s ] +--------------------------------------------------------------- +[ 2026-02-01T11:19:40+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.117393s] [吞吐率:8.52req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000033s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004969s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.005032s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001326s ] +[ 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.000041s ] +[ 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.002346s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000596s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000496s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000690s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001664s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.024057s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001542s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000461s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002317s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000704s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000513s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001875s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000578s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001576s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000469s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001432s ] +[ 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.000522s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001500s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000537s ] +--------------------------------------------------------------- +[ 2026-02-01T11:19:53+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.078097s] [吞吐率:12.80req/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.003439s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003481s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000972s ] +[ 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.001498s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000453s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000368s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000678s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001675s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000051s ] +[ 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.001254s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001662s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000470s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001972s ] +[ 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.000505s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001455s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000470s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001556s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000479s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001428s ] +[ 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.000636s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001483s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000604s ] +--------------------------------------------------------------- +[ 2026-02-01T11:19:53+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.104885s] [吞吐率:9.53req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003305s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003342s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000930s ] +[ 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.001506s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000426s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000384s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000687s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001699s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.024914s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001423s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000465s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002205s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000706s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000474s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001780s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000637s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001529s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000459s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001411s ] +[ 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.000538s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001583s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000591s ] +--------------------------------------------------------------- +[ 2026-02-01T11:21:48+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.134516s] [吞吐率:7.43req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.005958s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.006017s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001728s ] +[ 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.000036s ] +[ 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.002487s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000668s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000590s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001200s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.003066s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000077s ] +[ 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.001774s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002417s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000590s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003781s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000911s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000874s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002526s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000599s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002477s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000530s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001965s ] +[ 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.000662s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002216s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000771s ] +--------------------------------------------------------------- +[ 2026-02-01T11:21:49+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.237820s] [吞吐率:4.20req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000033s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.006915s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.006969s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001618s ] +[ 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.000044s ] +[ 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.028899s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.001683s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000744s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001120s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002622s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000068s ] +[ 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.004844s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002329s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000573s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003609s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000988s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000763s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002415s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000605s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002341s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000544s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002068s ] +[ 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.000735s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002305s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000691s ] +--------------------------------------------------------------- +[ 2026-02-01T11:22:02+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.103781s] [吞吐率:9.64req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004063s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004104s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001318s ] +[ 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.000028s ] +[ 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.001850s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000537s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000492s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000903s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002250s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000080s ] +[ 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.001288s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001719s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000546s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002110s ] +[ 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.000690s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002161s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000534s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001968s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000579s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002968s ] +[ 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.000867s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002701s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000709s ] +--------------------------------------------------------------- +[ 2026-02-01T11:22:02+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.106660s] [吞吐率:9.38req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000031s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003882s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003920s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001245s ] +[ 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.000028s ] +[ 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.001906s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000536s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000460s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001188s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002251s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000055s ] +[ 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.001031s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001916s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000519s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002042s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000631s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000717s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001862s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000636s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.003054s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000666s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002287s ] +[ 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.000739s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002410s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000844s ] +--------------------------------------------------------------- +[ 2026-02-01T11:22:35+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.110579s] [吞吐率:9.04req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000032s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004874s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004927s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001271s ] +[ 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.000038s ] +[ 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.002228s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000608s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000481s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000894s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002531s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000072s ] +[ 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.002936s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002260s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000549s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003238s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000792s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000941s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002345s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000572s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002069s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000489s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001993s ] +[ 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.000618s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002179s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000656s ] +--------------------------------------------------------------- +[ 2026-02-01T11:23:50+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.079860s] [吞吐率:12.52req/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.003264s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003301s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000903s ] +[ 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.001557s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000452s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000361s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000712s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001756s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000053s ] +[ 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.001256s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001714s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000522s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002239s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000713s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000557s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001580s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000479s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001519s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000455s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001478s ] +[ 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.000562s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001646s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000650s ] +--------------------------------------------------------------- +[ 2026-02-01T11:23:50+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.100475s] [吞吐率:9.95req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000028s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003178s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003214s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000891s ] +[ 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.001542s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000521s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000375s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000768s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001832s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.020103s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001455s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000467s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002340s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000849s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000509s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002069s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000527s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001761s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000492s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001488s ] +[ 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.000678s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001564s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000660s ] +--------------------------------------------------------------- +[ 2026-02-01T11:36:07+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.139942s] [吞吐率:7.15req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000034s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.023519s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.023572s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001732s ] +[ 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.000048s ] +[ 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.002453s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000675s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000575s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000835s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001747s ] +[ 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.001541s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002471s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000564s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002410s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000696s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000822s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001559s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000432s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001435s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000398s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001212s ] +[ 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.000473s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001303s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000489s ] +--------------------------------------------------------------- +[ 2026-02-01T11:36:07+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.187507s] [吞吐率:5.33req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000043s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.007045s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.007104s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.002013s ] +[ 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.000039s ] +[ 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.002655s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000783s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000632s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000782s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001752s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000045s ] +[ 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.022849s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001380s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000422s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001912s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000557s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000481s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001446s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000429s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001259s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000395s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001302s ] +[ 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.000494s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001334s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000489s ] +--------------------------------------------------------------- +[ 2026-02-01T11:36:32+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.136579s] [吞吐率:7.32req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000030s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.005654s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.005710s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001670s ] +[ 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.000050s ] +[ 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.002533s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000683s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000653s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000760s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001782s ] +[ 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.014193s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001828s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000560s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002295s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000599s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000532s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001598s ] +[ 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.001301s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000384s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001644s ] +[ 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.000467s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001318s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000504s ] +--------------------------------------------------------------- +[ 2026-02-01T11:36:32+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.136365s] [吞吐率:7.33req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000029s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.005089s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.005154s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001761s ] +[ 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.000030s ] +[ 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.001824s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000517s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000576s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000862s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001869s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000046s ] +[ 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.025020s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001509s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000407s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001883s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000562s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000600s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001520s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000412s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001437s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000409s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001279s ] +[ 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.000484s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001466s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000770s ] +--------------------------------------------------------------- +[ 2026-02-01T11:38:42+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.106159s] [吞吐率:9.42req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003608s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003640s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001084s ] +[ 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.000022s ] +[ 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.001517s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000434s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000387s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000841s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001900s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000051s ] +[ 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.025053s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001629s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000440s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002072s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000629s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000443s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001624s ] +[ 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.001479s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000426s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001356s ] +[ 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.000474s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001399s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000532s ] +--------------------------------------------------------------- +[ 2026-02-01T11:38:42+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.105428s] [吞吐率:9.49req/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.003637s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003670s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001130s ] +[ 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_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.001648s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000475s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000403s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000813s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001850s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000050s ] +[ 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.020537s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001600s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000442s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001911s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000631s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000434s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001572s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000462s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001457s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000466s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001430s ] +[ 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.001397s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000527s ] +--------------------------------------------------------------- +[ 2026-02-01T11:38:44+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.091976s] [吞吐率:10.87req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.003404s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003430s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001048s ] +[ 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.000022s ] +[ 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.001545s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000441s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000404s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000833s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001848s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000050s ] +[ 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.011796s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001718s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000435s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003746s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001133s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000471s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001389s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000432s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001412s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000611s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001338s ] +[ 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.000493s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001369s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000516s ] +--------------------------------------------------------------- +[ 2026-02-01T11:39:01+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.125908s] [吞吐率:7.94req/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.004007s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004039s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001312s ] +[ 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.001794s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000546s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000471s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000959s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002177s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000056s ] +[ 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.023212s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002496s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000597s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002271s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000869s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000546s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001660s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000572s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001718s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000699s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001881s ] +[ 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.000649s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001758s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000664s ] +--------------------------------------------------------------- +[ 2026-02-01T11:39:36+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.114526s] [吞吐率:8.73req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000033s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004281s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004338s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001176s ] +[ 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.000035s ] +[ 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.002044s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000561s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000486s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000638s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001512s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000045s ] +[ 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.021799s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002653s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000624s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002229s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000722s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000620s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001480s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000408s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001356s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000387s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001452s ] +[ 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.000516s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001327s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000491s ] +--------------------------------------------------------------- +[ 2026-02-01T11:39:36+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.084726s] [吞吐率:11.80req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.002717s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002760s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000805s ] +[ 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.001338s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000359s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000292s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000619s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001484s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000043s ] +[ 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.017653s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001486s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000400s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001758s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000544s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000487s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001443s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000439s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001350s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000384s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001221s ] +[ 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.000519s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001339s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000501s ] +--------------------------------------------------------------- +[ 2026-02-01T11:42:59+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.134729s] [吞吐率:7.42req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000028s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.005994s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.006051s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001781s ] +[ 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.000035s ] +[ 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.003782s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000683s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000581s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001147s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001973s ] +[ 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.001446s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002120s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000578s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002388s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000750s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000540s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001704s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000502s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001870s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000428s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001267s ] +[ 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.001317s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000517s ] +--------------------------------------------------------------- +[ 2026-02-01T11:42:59+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.144675s] [吞吐率:6.91req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000033s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.005921s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.005978s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001920s ] +[ 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.000048s ] +[ 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.003474s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000697s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000590s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001014s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001727s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000045s ] +[ 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.010634s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002178s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000615s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001933s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000626s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000435s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001361s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000403s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001428s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000407s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001497s ] +[ 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.000592s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001482s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000513s ] +--------------------------------------------------------------- +[ 2026-02-01T11:43:45+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.112420s] [吞吐率:8.90req/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.003976s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004008s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001296s ] +[ 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.001797s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000548s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000455s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000904s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002058s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.012560s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002836s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000724s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002726s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000818s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000577s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001989s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000659s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001960s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000518s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001749s ] +[ 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.000653s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002023s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000712s ] +--------------------------------------------------------------- +[ 2026-02-01T11:43:47+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.128416s] [吞吐率:7.79req/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.004517s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004553s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001355s ] +[ 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.001848s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000581s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000492s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000935s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002136s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000055s ] +[ 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.016678s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.003074s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000779s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003781s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001294s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000617s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001929s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000667s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001894s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000577s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001835s ] +[ 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.000772s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001987s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.001026s ] +--------------------------------------------------------------- +[ 2026-02-01T11:43:47+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.099589s] [吞吐率:10.04req/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.003271s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003302s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000929s ] +[ 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.001530s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000436s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000369s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000718s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001717s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000051s ] +[ 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.012932s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002856s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000982s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003708s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001157s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000738s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002580s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000703s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002606s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000646s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.002438s ] +[ 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.000833s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.002665s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000873s ] +--------------------------------------------------------------- +[ 2026-02-01T11:43:48+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.095191s] [吞吐率:10.51req/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.002687s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002713s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000767s ] +[ 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.001285s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000358s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000301s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000654s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001594s ] +[ 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.019963s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002700s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000832s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003607s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001133s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000684s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001783s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000771s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001403s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000575s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001585s ] +[ 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.000673s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001670s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000712s ] +--------------------------------------------------------------- +[ 2026-02-01T11:44:44+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.109681s] [吞吐率:9.12req/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.003503s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003536s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000998s ] +[ 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.000035s ] +[ 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.001760s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000560s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000439s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000712s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001826s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.013006s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.003018s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000904s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002435s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000988s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000859s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001870s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000563s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001864s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000534s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001688s ] +[ 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.001089s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001840s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000733s ] +--------------------------------------------------------------- +[ 2026-02-01T11:44:44+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.111315s] [吞吐率:8.98req/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.003149s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003180s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000884s ] +[ 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.001481s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000420s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000344s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000683s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001711s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.018904s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002691s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000663s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003549s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001005s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000753s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002558s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000684s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002503s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000628s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001632s ] +[ 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.000563s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001616s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000624s ] +--------------------------------------------------------------- +[ 2026-02-01T11:45:01+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.123854s] [吞吐率:8.07req/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.004217s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004254s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001436s ] +[ 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.001872s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000563s ] +[ 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.000894s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002041s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000052s ] +[ 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.025551s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.002073s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000513s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002344s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000844s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000829s ] +[ 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.000510s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001827s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000478s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001587s ] +[ 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.000589s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001569s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000610s ] +--------------------------------------------------------------- +[ 2026-02-01T11:45:01+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.111781s] [吞吐率:8.95req/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.003924s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.003957s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001215s ] +[ 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.001764s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000498s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000428s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.001030s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001949s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000051s ] +[ 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.016075s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.003073s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000669s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.003580s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.001018s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000873s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002574s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000688s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.002288s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000593s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001517s ] +[ 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.000569s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001614s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000626s ] +--------------------------------------------------------------- +[ 2026-02-01T11:45:02+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.087334s] [吞吐率:11.45req/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.002958s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002988s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000864s ] +[ 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.001382s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000406s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000340s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000588s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001538s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000058s ] +[ 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.013354s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001787s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000473s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002030s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000745s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000466s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001744s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000522s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001438s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000401s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001358s ] +[ 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.000538s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001555s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000606s ] +--------------------------------------------------------------- +[ 2026-02-01T11:45:06+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.086130s] [吞吐率:11.61req/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.002760s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002789s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000795s ] +[ 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.000022s ] +[ 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.001296s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000378s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000304s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000599s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.001536s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000050s ] +[ 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.016359s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001629s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000556s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.001973s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000601s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000451s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.001404s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_level` WHERE `level` = '3' LIMIT 1 [ RunTime:0.000575s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_config` [ RunTime:0.001814s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000472s ] +[ 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.000526s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001488s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000540s ] +--------------------------------------------------------------- +[ 2026-02-01T11:45:06+08:00 ] 127.0.0.1 GET 127.0.0.1:8080/api/user_basic/get_user_basic +[运行时间:0.120958s] [吞吐率:8.27req/s] [内存消耗:4,272.90kb] [文件加载:92] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000073s ] +[ info ] [ CACHE ] INIT File +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @app_init [ RunTime:0.004622s ] +[ info ] [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004695s ] +[ info ] [ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.001352s ] +[ 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.000073s ] +[ 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.002275s ] +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @module_init [ RunTime:0.000630s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @module_init [ RunTime:0.000574s ] +[ info ] [ TOKEN ] INIT Mysql +[ info ] [ DB ] INIT mysql +[ info ] [ BEHAVIOR ] Run \addons\alioss\Alioss @upload_config_init [ RunTime:0.000670s ] +[ info ] [ BEHAVIOR ] Run \addons\epay\Epay @action_begin [ RunTime:0.002293s ] +[ info ] [ BEHAVIOR ] Run \addons\third\Third @action_begin [ RunTime:0.000053s ] +[ 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.024666s ] mysql:host=127.0.0.1;port=3306;dbname=fastadmin;charset=utf8mb4 +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_token` [ RunTime:0.001732s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000599s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user` [ RunTime:0.002232s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user` WHERE `id` = 70 LIMIT 1 [ RunTime:0.000632s ] +[ sql ] [ SQL ] SELECT * FROM `nf_user_token` WHERE `token` = 'add92c4de35c0dd27585fa5979c6db3b7834766e' LIMIT 1 [ RunTime:0.000533s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_level` [ RunTime:0.002461s ] +[ 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.001551s ] +[ sql ] [ SQL ] SELECT SUM(upper) AS tp_sum FROM `nf_user_bond_config` LIMIT 1 [ RunTime:0.000647s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_user_bond_log` [ RunTime:0.001549s ] +[ 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.000564s ] +[ sql ] [ SQL ] SHOW COLUMNS FROM `nf_third` [ RunTime:0.001462s ] +[ sql ] [ SQL ] SELECT `openid` FROM `nf_third` WHERE `user_id` = 70 AND `platform` = 'wxapp' LIMIT 1 [ RunTime:0.000546s ] diff --git a/开发/2026年2月1日.md b/开发/2026年2月1日.md index d873b15..f9aecec 100644 --- a/开发/2026年2月1日.md +++ b/开发/2026年2月1日.md @@ -1,4 +1,6 @@ 1. 将密码校验删除,因为无法生成模型,用最简单的方法来尝试这些内容。 2. 将Hbuilder的AppId更换成自己的,原本的保留(__UNI__1F3C178)。还是无法正常编译,将下面的插件注释掉不用,Agora-RTC:音视频插件和AudioRecode:录音插件。 3. 增加tab栏但是还没有加上对应的功能 -4. 增加聊天背景选择功能,会员可以自定义背景 \ No newline at end of file +4. 增加聊天背景选择功能,会员可以自定义背景 +5. 增加恋人消息编辑功能,更新**数据库**,加上一些编辑消息、编辑时间相关字段。用户编辑消息之后恋人不回答,只会更新记忆和摘要的数据库,下一次回答的时候会重新引用这个更新后的记忆。 +6. lian \ No newline at end of file diff --git a/数据填充_换装种类.sql b/数据填充_换装种类.sql new file mode 100644 index 0000000..3548f43 --- /dev/null +++ b/数据填充_换装种类.sql @@ -0,0 +1,115 @@ +-- ============================================ +-- 换装种类数据填充(流行服装风格) +-- 表名: nf_outfit_items +-- 字段说明: +-- name: 服装名称 +-- category: 分类(top=上装, bottom=下装, dress=连衣裙/连体服) +-- gender: 适用性别(male=男, female=女, unisex=通用) +-- image_url: 服装图片路径(需要上传图片后更新) +-- is_free: 是否免费(1=免费, 0=收费) +-- price_gold: 金币价格(收费时) +-- is_vip_only: 是否仅VIP可见/可用(1=是, 0=否) +-- status: 状态(1=上架, 0=下架) +-- weigh: 排序权重(数字越大越靠前) +-- ============================================ + +-- ========== 上装 (top) - 女性 ========== +INSERT INTO `nf_outfit_items` (`name`, `category`, `gender`, `image_url`, `is_free`, `price_gold`, `is_vip_only`, `status`, `weigh`, `createtime`, `updatetime`) VALUES +-- 免费基础款 +('白色T恤', 'top', 'female', '/uploads/outfit/top/white_tshirt.jpg', 1, 0, 0, '1', 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('粉色短袖', 'top', 'female', '/uploads/outfit/top/pink_short_sleeve.jpg', 1, 0, 0, '1', 99, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('蓝色衬衫', 'top', 'female', '/uploads/outfit/top/blue_shirt.jpg', 1, 0, 0, '1', 98, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('灰色卫衣', 'top', 'female', '/uploads/outfit/top/gray_sweatshirt.jpg', 1, 0, 0, '1', 97, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 收费款 +('蕾丝吊带上衣', 'top', 'female', '/uploads/outfit/top/lace_strap.jpg', 0, 100, 0, '1', 96, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('一字领露肩上衣', 'top', 'female', '/uploads/outfit/top/off_shoulder.jpg', 0, 80, 0, '1', 95, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('露脐短袖', 'top', 'female', '/uploads/outfit/top/crop_top.jpg', 0, 60, 0, '1', 94, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('雪纺衬衫', 'top', 'female', '/uploads/outfit/top/chiffon_shirt.jpg', 0, 70, 0, '1', 93, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('针织开衫', 'top', 'female', '/uploads/outfit/top/knit_cardigan.jpg', 0, 90, 0, '1', 92, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('小香风外套', 'top', 'female', '/uploads/outfit/top/tweed_jacket.jpg', 0, 150, 0, '1', 91, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- VIP专属 +('真丝衬衫', 'top', 'female', '/uploads/outfit/top/silk_shirt.jpg', 0, 200, 1, '1', 90, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('定制礼服上衣', 'top', 'female', '/uploads/outfit/top/custom_dress_top.jpg', 0, 300, 1, '1', 89, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- ========== 下装 (bottom) - 女性 ========== +INSERT INTO `nf_outfit_items` (`name`, `category`, `gender`, `image_url`, `is_free`, `price_gold`, `is_vip_only`, `status`, `weigh`, `createtime`, `updatetime`) VALUES +-- 免费基础款 +('蓝色牛仔裤', 'bottom', 'female', '/uploads/outfit/bottom/blue_jeans.jpg', 1, 0, 0, '1', 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('黑色短裙', 'bottom', 'female', '/uploads/outfit/bottom/black_skirt.jpg', 1, 0, 0, '1', 99, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('白色短裤', 'bottom', 'female', '/uploads/outfit/bottom/white_shorts.jpg', 1, 0, 0, '1', 98, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('灰色运动裤', 'bottom', 'female', '/uploads/outfit/bottom/gray_sweatpants.jpg', 1, 0, 0, '1', 97, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 收费款 +('A字半身裙', 'bottom', 'female', '/uploads/outfit/bottom/a_line_skirt.jpg', 0, 80, 0, '1', 96, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('高腰阔腿裤', 'bottom', 'female', '/uploads/outfit/bottom/high_waist_pants.jpg', 0, 100, 0, '1', 95, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('百褶短裙', 'bottom', 'female', '/uploads/outfit/bottom/pleated_skirt.jpg', 0, 70, 0, '1', 94, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('包臀裙', 'bottom', 'female', '/uploads/outfit/bottom/pencil_skirt.jpg', 0, 90, 0, '1', 93, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('破洞牛仔裤', 'bottom', 'female', '/uploads/outfit/bottom/ripped_jeans.jpg', 0, 60, 0, '1', 92, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('西装裤', 'bottom', 'female', '/uploads/outfit/bottom/suit_pants.jpg', 0, 120, 0, '1', 91, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- VIP专属 +('真丝长裙', 'bottom', 'female', '/uploads/outfit/bottom/silk_long_skirt.jpg', 0, 250, 1, '1', 90, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('定制礼服下装', 'bottom', 'female', '/uploads/outfit/bottom/custom_dress_bottom.jpg', 0, 350, 1, '1', 89, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- ========== 连衣裙/连体服 (dress) - 女性 ========== +INSERT INTO `nf_outfit_items` (`name`, `category`, `gender`, `image_url`, `is_free`, `price_gold`, `is_vip_only`, `status`, `weigh`, `createtime`, `updatetime`) VALUES +-- 免费基础款 +('白色连衣裙', 'dress', 'female', '/uploads/outfit/dress/white_dress.jpg', 1, 0, 0, '1', 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('碎花连衣裙', 'dress', 'female', '/uploads/outfit/dress/floral_dress.jpg', 1, 0, 0, '1', 99, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('黑色小礼服', 'dress', 'female', '/uploads/outfit/dress/black_dress.jpg', 1, 0, 0, '1', 98, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 日常风格 +('法式复古连衣裙', 'dress', 'female', '/uploads/outfit/dress/french_vintage.jpg', 0, 150, 0, '1', 97, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('甜美公主裙', 'dress', 'female', '/uploads/outfit/dress/princess_dress.jpg', 0, 180, 0, '1', 96, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('优雅长裙', 'dress', 'female', '/uploads/outfit/dress/elegant_long_dress.jpg', 0, 200, 0, '1', 95, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('吊带连衣裙', 'dress', 'female', '/uploads/outfit/dress/strapless_dress.jpg', 0, 120, 0, '1', 94, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('雪纺连衣裙', 'dress', 'female', '/uploads/outfit/dress/chiffon_dress.jpg', 0, 160, 0, '1', 93, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 主题风格 +('JK制服', 'dress', 'female', '/uploads/outfit/dress/jk_uniform.jpg', 0, 200, 0, '1', 92, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('汉服', 'dress', 'female', '/uploads/outfit/dress/hanfu.jpg', 0, 300, 0, '1', 91, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('洛丽塔', 'dress', 'female', '/uploads/outfit/dress/lolita.jpg', 0, 350, 0, '1', 90, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('和服', 'dress', 'female', '/uploads/outfit/dress/kimono.jpg', 0, 280, 0, '1', 89, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('魔法少女装', 'dress', 'female', '/uploads/outfit/dress/magical_girl.jpg', 0, 250, 0, '1', 88, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 季节限定 +('夏日比基尼', 'dress', 'female', '/uploads/outfit/dress/summer_bikini.jpg', 0, 150, 0, '1', 87, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('冬季毛衣裙', 'dress', 'female', '/uploads/outfit/dress/winter_sweater_dress.jpg', 0, 180, 0, '1', 86, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('圣诞装', 'dress', 'female', '/uploads/outfit/dress/christmas_dress.jpg', 0, 200, 0, '1', 85, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- VIP专属 +('定制晚礼服', 'dress', 'female', '/uploads/outfit/dress/custom_evening_dress.jpg', 0, 500, 1, '1', 84, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('高级定制婚纱', 'dress', 'female', '/uploads/outfit/dress/custom_wedding_dress.jpg', 0, 1000, 1, '1', 83, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- ========== 上装 (top) - 男性 ========== +INSERT INTO `nf_outfit_items` (`name`, `category`, `gender`, `image_url`, `is_free`, `price_gold`, `is_vip_only`, `status`, `weigh`, `createtime`, `updatetime`) VALUES +-- 免费基础款 +('白色T恤', 'top', 'male', '/uploads/outfit/top/male_white_tshirt.jpg', 1, 0, 0, '1', 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('蓝色衬衫', 'top', 'male', '/uploads/outfit/top/male_blue_shirt.jpg', 1, 0, 0, '1', 99, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('黑色卫衣', 'top', 'male', '/uploads/outfit/top/male_black_sweatshirt.jpg', 1, 0, 0, '1', 98, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 收费款 +('休闲Polo衫', 'top', 'male', '/uploads/outfit/top/polo_shirt.jpg', 0, 80, 0, '1', 97, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('商务衬衫', 'top', 'male', '/uploads/outfit/top/business_shirt.jpg', 0, 100, 0, '1', 96, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('运动背心', 'top', 'male', '/uploads/outfit/top/sports_tank.jpg', 0, 60, 0, '1', 95, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('牛仔外套', 'top', 'male', '/uploads/outfit/top/denim_jacket.jpg', 0, 120, 0, '1', 94, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('西装外套', 'top', 'male', '/uploads/outfit/top/suit_jacket.jpg', 0, 200, 0, '1', 93, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- ========== 下装 (bottom) - 男性 ========== +INSERT INTO `nf_outfit_items` (`name`, `category`, `gender`, `image_url`, `is_free`, `price_gold`, `is_vip_only`, `status`, `weigh`, `createtime`, `updatetime`) VALUES +-- 免费基础款 +('蓝色牛仔裤', 'bottom', 'male', '/uploads/outfit/bottom/male_blue_jeans.jpg', 1, 0, 0, '1', 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('黑色休闲裤', 'bottom', 'male', '/uploads/outfit/bottom/male_black_pants.jpg', 1, 0, 0, '1', 99, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), + +-- 收费款 +('运动短裤', 'bottom', 'male', '/uploads/outfit/bottom/sports_shorts.jpg', 0, 50, 0, '1', 98, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('卡其裤', 'bottom', 'male', '/uploads/outfit/bottom/khaki_pants.jpg', 0, 80, 0, '1', 97, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('西装裤', 'bottom', 'male', '/uploads/outfit/bottom/suit_pants_male.jpg', 0, 150, 0, '1', 96, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('工装裤', 'bottom', 'male', '/uploads/outfit/bottom/cargo_pants.jpg', 0, 100, 0, '1', 95, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- ========== 通用款 (unisex) ========== +INSERT INTO `nf_outfit_items` (`name`, `category`, `gender`, `image_url`, `is_free`, `price_gold`, `is_vip_only`, `status`, `weigh`, `createtime`, `updatetime`) VALUES +('基础T恤', 'top', 'unisex', '/uploads/outfit/top/basic_tshirt.jpg', 1, 0, 0, '1', 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('运动裤', 'bottom', 'unisex', '/uploads/outfit/bottom/sweatpants.jpg', 1, 0, 0, '1', 99, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); diff --git a/数据填充_礼物种类.sql b/数据填充_礼物种类.sql new file mode 100644 index 0000000..fcfb672 --- /dev/null +++ b/数据填充_礼物种类.sql @@ -0,0 +1,59 @@ +-- ============================================ +-- 礼物种类数据填充(流行虚拟礼物) +-- 表名: nf_gifts +-- 字段说明: +-- name: 礼物名称 +-- title: 礼物标题/描述 +-- price: 礼物价格(金币) +-- intimacy_value: 亲密度增加值 +-- image: 礼物图片路径(需要上传图片后更新) +-- weigh: 排序权重(数字越大越靠前) +-- status: 状态(1=上架,0=下架) +-- ============================================ + +-- 经济类礼物(10-50金币) +INSERT INTO `nf_gifts` (`name`, `title`, `price`, `intimacy_value`, `image`, `weigh`, `status`, `createtime`, `updatetime`) VALUES +('玫瑰花', '送她一朵玫瑰花,表达你的爱意', 10.00, 10, '/uploads/gifts/rose.png', 100, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('棒棒糖', '甜甜的棒棒糖,甜到心里', 10.00, 10, '/uploads/gifts/lollipop.png', 99, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('咖啡', '一杯香浓咖啡,温暖她的心', 15.00, 15, '/uploads/gifts/coffee.png', 98, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('冰淇淋', '夏日清凉,甜蜜相伴', 15.00, 15, '/uploads/gifts/icecream.png', 97, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('小蛋糕', '精致小蛋糕,甜蜜时光', 20.00, 20, '/uploads/gifts/cake.png', 96, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('巧克力', '浓情巧克力,爱意满满', 20.00, 20, '/uploads/gifts/chocolate.png', 95, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('奶茶', '香醇奶茶,温暖陪伴', 25.00, 25, '/uploads/gifts/milktea.png', 94, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('小星星', '闪闪小星星,照亮她的心', 30.00, 30, '/uploads/gifts/star.png', 93, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('爱心气球', '浪漫爱心气球,传递爱意', 35.00, 35, '/uploads/gifts/heart_balloon.png', 92, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('小礼物盒', '神秘礼物盒,惊喜不断', 40.00, 40, '/uploads/gifts/gift_box.png', 91, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('彩虹', '美丽彩虹,带来好运', 50.00, 50, '/uploads/gifts/rainbow.png', 90, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- 中档礼物(50-200金币) +INSERT INTO `nf_gifts` (`name`, `title`, `price`, `intimacy_value`, `image`, `weigh`, `status`, `createtime`, `updatetime`) VALUES +('香槟', '庆祝时刻,香槟相伴', 50.00, 50, '/uploads/gifts/champagne.png', 89, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('钻石', '璀璨钻石,永恒的爱', 80.00, 80, '/uploads/gifts/diamond.png', 88, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('王冠', '女王王冠,尊贵象征', 100.00, 100, '/uploads/gifts/crown.png', 87, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('爱心', '大爱心,满满爱意', 100.00, 100, '/uploads/gifts/big_heart.png', 86, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('月亮', '皎洁月亮,浪漫夜晚', 120.00, 120, '/uploads/gifts/moon.png', 85, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('烟花', '绚丽烟花,浪漫绽放', 150.00, 150, '/uploads/gifts/fireworks.png', 84, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('水晶球', '魔法水晶球,许愿成真', 150.00, 150, '/uploads/gifts/crystal_ball.png', 83, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('玫瑰花束', '99朵玫瑰,长长久久', 180.00, 180, '/uploads/gifts/rose_bouquet.png', 82, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('星星项链', '闪亮星星项链,点缀美丽', 200.00, 200, '/uploads/gifts/star_necklace.png', 81, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- 高级礼物(200-500金币) +INSERT INTO `nf_gifts` (`name`, `title`, `price`, `intimacy_value`, `image`, `weigh`, `status`, `createtime`, `updatetime`) VALUES +('跑车', '豪华跑车,速度与激情', 300.00, 300, '/uploads/gifts/sports_car.png', 80, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('飞机', '私人飞机,自由翱翔', 400.00, 400, '/uploads/gifts/airplane.png', 79, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('游艇', '豪华游艇,海上浪漫', 450.00, 450, '/uploads/gifts/yacht.png', 78, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('城堡', '梦幻城堡,公主的梦', 500.00, 500, '/uploads/gifts/castle.png', 77, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- 特殊礼物(500+金币) +INSERT INTO `nf_gifts` (`name`, `title`, `price`, `intimacy_value`, `image`, `weigh`, `status`, `createtime`, `updatetime`) VALUES +('宇宙飞船', '探索宇宙,无限可能', 600.00, 600, '/uploads/gifts/spaceship.png', 76, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('时光机', '穿越时空,回到过去', 800.00, 800, '/uploads/gifts/time_machine.png', 75, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('魔法棒', '神奇魔法棒,实现愿望', 1000.00, 1000, '/uploads/gifts/magic_wand.png', 74, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('永恒之心', '永恒之心,永不分离', 1314.00, 1314, '/uploads/gifts/eternal_heart.png', 73, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); + +-- 节日限定礼物 +INSERT INTO `nf_gifts` (`name`, `title`, `price`, `intimacy_value`, `image`, `weigh`, `status`, `createtime`, `updatetime`) VALUES +('圣诞树', '圣诞树,节日氛围', 200.00, 200, '/uploads/gifts/christmas_tree.png', 72, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('情人节巧克力', '情人节限定,甜蜜加倍', 520.00, 520, '/uploads/gifts/valentine_chocolate.png', 71, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('生日蛋糕', '生日蛋糕,生日快乐', 188.00, 188, '/uploads/gifts/birthday_cake.png', 70, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()), +('万圣节南瓜', '万圣节南瓜,神秘有趣', 150.00, 150, '/uploads/gifts/halloween_pumpkin.png', 69, '1', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()); diff --git a/数据填充_音色种类.sql b/数据填充_音色种类.sql new file mode 100644 index 0000000..07f3fb7 --- /dev/null +++ b/数据填充_音色种类.sql @@ -0,0 +1,75 @@ +-- ============================================ +-- 音色种类数据填充(流行AI语音合成音色) +-- 表名: nf_voice_library +-- 字段说明: +-- name: 音色名称 +-- gender: 性别(male=男, female=女) +-- style_tag: 风格标签 +-- avatar_url: 音色头像URL +-- sample_audio_url: 试听音频URL +-- tts_model_id: TTS模型ID(根据实际使用的TTS服务填写) +-- voice_code: 语音合成参数(根据实际TTS服务填写) +-- is_default: 是否默认(1=是, 0=否) +-- is_owned: 是否已拥有(1=是, 0=否) +-- price_gold: 解锁所需金币(0=免费) +-- ============================================ + +-- ========== 女性音色 ========== +INSERT INTO `nf_voice_library` (`name`, `gender`, `style_tag`, `avatar_url`, `sample_audio_url`, `tts_model_id`, `voice_code`, `is_default`, `is_owned`, `price_gold`, `createtime`, `updatetime`, `deletetime`) VALUES +-- 免费基础音色 +('温柔甜美', 'female', '温柔甜美', '/uploads/voice/avatar/sweet.jpg', '/uploads/voice/sample/sweet.mp3', 'cosyvoice-v2', 'sweet_voice', 1, 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('清纯可爱', 'female', '清纯可爱', '/uploads/voice/avatar/cute.jpg', '/uploads/voice/sample/cute.mp3', 'cosyvoice-v2', 'cute_voice', 0, 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('活泼开朗', 'female', '活泼开朗', '/uploads/voice/avatar/cheerful.jpg', '/uploads/voice/sample/cheerful.mp3', 'cosyvoice-v2', 'cheerful_voice', 0, 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- 收费音色 - 日常风格 +('成熟御姐', 'female', '成熟御姐', '/uploads/voice/avatar/mature.jpg', '/uploads/voice/sample/mature.mp3', 'cosyvoice-v2', 'mature_voice', 0, 0, 50, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('知性优雅', 'female', '知性优雅', '/uploads/voice/avatar/elegant.jpg', '/uploads/voice/sample/elegant.mp3', 'cosyvoice-v2', 'elegant_voice', 0, 0, 80, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('温柔邻家', 'female', '温柔邻家', '/uploads/voice/avatar/neighbor.jpg', '/uploads/voice/sample/neighbor.mp3', 'cosyvoice-v2', 'neighbor_voice', 0, 0, 60, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('元气少女', 'female', '元气少女', '/uploads/voice/avatar/energetic.jpg', '/uploads/voice/sample/energetic.mp3', 'cosyvoice-v2', 'energetic_voice', 0, 0, 70, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('清冷女神', 'female', '清冷女神', '/uploads/voice/avatar/cool.jpg', '/uploads/voice/sample/cool.mp3', 'cosyvoice-v2', 'cool_voice', 0, 0, 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- 收费音色 - 特殊风格 +('萝莉音', 'female', '萝莉音', '/uploads/voice/avatar/loli.jpg', '/uploads/voice/sample/loli.mp3', 'cosyvoice-v2', 'loli_voice', 0, 0, 120, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('御姐音', 'female', '御姐音', '/uploads/voice/avatar/onee.jpg', '/uploads/voice/sample/onee.mp3', 'cosyvoice-v2', 'onee_voice', 0, 0, 120, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('软萌音', 'female', '软萌音', '/uploads/voice/avatar/soft.jpg', '/uploads/voice/sample/soft.mp3', 'cosyvoice-v2', 'soft_voice', 0, 0, 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('磁性低音', 'female', '磁性低音', '/uploads/voice/avatar/magnetic.jpg', '/uploads/voice/sample/magnetic.mp3', 'cosyvoice-v2', 'magnetic_voice', 0, 0, 150, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('空灵仙音', 'female', '空灵仙音', '/uploads/voice/avatar/ethereal.jpg', '/uploads/voice/sample/ethereal.mp3', 'cosyvoice-v2', 'ethereal_voice', 0, 0, 200, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- 收费音色 - 角色风格 +('古风女声', 'female', '古风女声', '/uploads/voice/avatar/ancient.jpg', '/uploads/voice/sample/ancient.mp3', 'cosyvoice-v2', 'ancient_voice', 0, 0, 180, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('日系少女', 'female', '日系少女', '/uploads/voice/avatar/japanese.jpg', '/uploads/voice/sample/japanese.mp3', 'cosyvoice-v2', 'japanese_voice', 0, 0, 150, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('韩系甜美', 'female', '韩系甜美', '/uploads/voice/avatar/korean.jpg', '/uploads/voice/sample/korean.mp3', 'cosyvoice-v2', 'korean_voice', 0, 0, 150, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('欧美性感', 'female', '欧美性感', '/uploads/voice/avatar/sexy.jpg', '/uploads/voice/sample/sexy.mp3', 'cosyvoice-v2', 'sexy_voice', 0, 0, 200, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- VIP专属音色 +('定制专属音色', 'female', '定制专属', '/uploads/voice/avatar/custom.jpg', '/uploads/voice/sample/custom.mp3', 'cosyvoice-v2', 'custom_voice', 0, 0, 500, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('AI歌手音色', 'female', 'AI歌手', '/uploads/voice/avatar/singer.jpg', '/uploads/voice/sample/singer.mp3', 'cosyvoice-v2', 'singer_voice', 0, 0, 300, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL); + +-- ========== 男性音色 ========== +INSERT INTO `nf_voice_library` (`name`, `gender`, `style_tag`, `avatar_url`, `sample_audio_url`, `tts_model_id`, `voice_code`, `is_default`, `is_owned`, `price_gold`, `createtime`, `updatetime`, `deletetime`) VALUES +-- 免费基础音色 +('阳光少年', 'male', '阳光少年', '/uploads/voice/avatar/male_sunny.jpg', '/uploads/voice/sample/male_sunny.mp3', 'cosyvoice-v2', 'sunny_voice', 1, 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('温暖大叔', 'male', '温暖大叔', '/uploads/voice/avatar/male_warm.jpg', '/uploads/voice/sample/male_warm.mp3', 'cosyvoice-v2', 'warm_voice', 0, 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('干净清爽', 'male', '干净清爽', '/uploads/voice/avatar/male_clean.jpg', '/uploads/voice/sample/male_clean.mp3', 'cosyvoice-v2', 'clean_voice', 0, 1, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- 收费音色 - 日常风格 +('成熟稳重', 'male', '成熟稳重', '/uploads/voice/avatar/male_mature.jpg', '/uploads/voice/sample/male_mature.mp3', 'cosyvoice-v2', 'mature_male_voice', 0, 0, 50, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('磁性低音', 'male', '磁性低音', '/uploads/voice/avatar/male_magnetic.jpg', '/uploads/voice/sample/male_magnetic.mp3', 'cosyvoice-v2', 'magnetic_male_voice', 0, 0, 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('温柔暖男', 'male', '温柔暖男', '/uploads/voice/avatar/male_gentle.jpg', '/uploads/voice/sample/male_gentle.mp3', 'cosyvoice-v2', 'gentle_male_voice', 0, 0, 80, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('活力青年', 'male', '活力青年', '/uploads/voice/avatar/male_vigorous.jpg', '/uploads/voice/sample/male_vigorous.mp3', 'cosyvoice-v2', 'vigorous_male_voice', 0, 0, 70, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('睿智精英', 'male', '睿智精英', '/uploads/voice/avatar/male_wise.jpg', '/uploads/voice/sample/male_wise.mp3', 'cosyvoice-v2', 'wise_male_voice', 0, 0, 120, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- 收费音色 - 特殊风格 +('少年音', 'male', '少年音', '/uploads/voice/avatar/male_boy.jpg', '/uploads/voice/sample/male_boy.mp3', 'cosyvoice-v2', 'boy_voice', 0, 0, 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('大叔音', 'male', '大叔音', '/uploads/voice/avatar/male_uncle.jpg', '/uploads/voice/sample/male_uncle.mp3', 'cosyvoice-v2', 'uncle_voice', 0, 0, 120, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('沙哑磁性', 'male', '沙哑磁性', '/uploads/voice/avatar/male_husky.jpg', '/uploads/voice/sample/male_husky.mp3', 'cosyvoice-v2', 'husky_voice', 0, 0, 150, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('清亮高音', 'male', '清亮高音', '/uploads/voice/avatar/male_clear.jpg', '/uploads/voice/sample/male_clear.mp3', 'cosyvoice-v2', 'clear_male_voice', 0, 0, 100, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- 收费音色 - 角色风格 +('古风男声', 'male', '古风男声', '/uploads/voice/avatar/male_ancient.jpg', '/uploads/voice/sample/male_ancient.mp3', 'cosyvoice-v2', 'ancient_male_voice', 0, 0, 180, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('日系少年', 'male', '日系少年', '/uploads/voice/avatar/male_japanese.jpg', '/uploads/voice/sample/male_japanese.mp3', 'cosyvoice-v2', 'japanese_male_voice', 0, 0, 150, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('欧美硬汉', 'male', '欧美硬汉', '/uploads/voice/avatar/male_tough.jpg', '/uploads/voice/sample/male_tough.mp3', 'cosyvoice-v2', 'tough_voice', 0, 0, 200, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), + +-- VIP专属音色 +('定制专属音色', 'male', '定制专属', '/uploads/voice/avatar/male_custom.jpg', '/uploads/voice/sample/male_custom.mp3', 'cosyvoice-v2', 'custom_male_voice', 0, 0, 500, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL), +('AI歌手音色', 'male', 'AI歌手', '/uploads/voice/avatar/male_singer.jpg', '/uploads/voice/sample/male_singer.mp3', 'cosyvoice-v2', 'singer_male_voice', 0, 0, 300, UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), NULL); diff --git a/数据填充说明.md b/数据填充说明.md new file mode 100644 index 0000000..fea8e29 --- /dev/null +++ b/数据填充说明.md @@ -0,0 +1,182 @@ +# 数据填充说明文档 + +## 📦 礼物种类数据 (`数据填充_礼物种类.sql`) + +### 数据分类 +1. **经济类礼物**(10-50金币) + - 玫瑰花、棒棒糖、咖啡、冰淇淋、小蛋糕、巧克力、奶茶、小星星、爱心气球、小礼物盒、彩虹 + - 共11种,亲密度增加值:10-50 + +2. **中档礼物**(50-200金币) + - 香槟、钻石、王冠、爱心、月亮、烟花、水晶球、玫瑰花束、星星项链 + - 共9种,亲密度增加值:50-200 + +3. **高级礼物**(200-500金币) + - 跑车、飞机、游艇、城堡 + - 共4种,亲密度增加值:200-500 + +4. **特殊礼物**(500+金币) + - 宇宙飞船、时光机、魔法棒、永恒之心(1314金币) + - 共4种,亲密度增加值:600-1314 + +5. **节日限定礼物** + - 圣诞树、情人节巧克力、生日蛋糕、万圣节南瓜 + - 共4种,价格:150-520金币 + +**总计:32种礼物** + +--- + +## 👗 换装种类数据 (`数据填充_换装种类.sql`) + +### 数据分类 + +#### 女性上装 (top) +- **免费款**:白色T恤、粉色短袖、蓝色衬衫、灰色卫衣(4种) +- **收费款**:蕾丝吊带上衣、一字领露肩上衣、露脐短袖、雪纺衬衫、针织开衫、小香风外套(6种) +- **VIP专属**:真丝衬衫、定制礼服上衣(2种) +- **小计**:12种 + +#### 女性下装 (bottom) +- **免费款**:蓝色牛仔裤、黑色短裙、白色短裤、灰色运动裤(4种) +- **收费款**:A字半身裙、高腰阔腿裤、百褶短裙、包臀裙、破洞牛仔裤、西装裤(6种) +- **VIP专属**:真丝长裙、定制礼服下装(2种) +- **小计**:12种 + +#### 女性连衣裙/连体服 (dress) +- **免费款**:白色连衣裙、碎花连衣裙、黑色小礼服(3种) +- **日常风格**:法式复古、甜美公主裙、优雅长裙、吊带连衣裙、雪纺连衣裙(5种) +- **主题风格**:JK制服、汉服、洛丽塔、和服、魔法少女装(5种) +- **季节限定**:夏日比基尼、冬季毛衣裙、圣诞装(3种) +- **VIP专属**:定制晚礼服、高级定制婚纱(2种) +- **小计**:18种 + +#### 男性上装 (top) +- **免费款**:白色T恤、蓝色衬衫、黑色卫衣(3种) +- **收费款**:休闲Polo衫、商务衬衫、运动背心、牛仔外套、西装外套(5种) +- **小计**:8种 + +#### 男性下装 (bottom) +- **免费款**:蓝色牛仔裤、黑色休闲裤(2种) +- **收费款**:运动短裤、卡其裤、西装裤、工装裤(4种) +- **小计**:6种 + +#### 通用款 (unisex) +- 基础T恤、运动裤(2种) + +**总计:58种服装** + +--- + +## 🎤 音色种类数据 (`数据填充_音色种类.sql`) + +### 数据分类 + +#### 女性音色 +- **免费基础音色**(3种) + - 温柔甜美(默认)、清纯可爱、活泼开朗 + +- **收费音色 - 日常风格**(5种) + - 成熟御姐(50金币)、知性优雅(80金币)、温柔邻家(60金币)、元气少女(70金币)、清冷女神(100金币) + +- **收费音色 - 特殊风格**(5种) + - 萝莉音(120金币)、御姐音(120金币)、软萌音(100金币)、磁性低音(150金币)、空灵仙音(200金币) + +- **收费音色 - 角色风格**(4种) + - 古风女声(180金币)、日系少女(150金币)、韩系甜美(150金币)、欧美性感(200金币) + +- **VIP专属音色**(2种) + - 定制专属音色(500金币)、AI歌手音色(300金币) + +- **小计**:19种女性音色 + +#### 男性音色 +- **免费基础音色**(3种) + - 阳光少年(默认)、温暖大叔、干净清爽 + +- **收费音色 - 日常风格**(5种) + - 成熟稳重(50金币)、磁性低音(100金币)、温柔暖男(80金币)、活力青年(70金币)、睿智精英(120金币) + +- **收费音色 - 特殊风格**(4种) + - 少年音(100金币)、大叔音(120金币)、沙哑磁性(150金币)、清亮高音(100金币) + +- **收费音色 - 角色风格**(3种) + - 古风男声(180金币)、日系少年(150金币)、欧美硬汉(200金币) + +- **VIP专属音色**(2种) + - 定制专属音色(500金币)、AI歌手音色(300金币) + +- **小计**:17种男性音色 + +**总计:36种音色** + +--- + +## 📝 使用说明 + +### 1. 执行SQL文件 +```sql +-- 在MySQL数据库中依次执行以下文件: +-- 1. 数据填充_礼物种类.sql +-- 2. 数据填充_换装种类.sql +-- 3. 数据填充_音色种类.sql +``` + +### 2. 注意事项 + +#### 图片路径 +- 所有 `image` 和 `image_url` 字段中的路径都是示例路径 +- **需要根据实际情况上传图片并更新路径** +- 建议图片命名规范: + - 礼物:`/uploads/gifts/礼物名称.png` + - 换装:`/uploads/outfit/分类/服装名称.jpg` + - 音色:`/uploads/voice/avatar/音色名称.jpg` + +#### 音频路径 +- 音色的 `sample_audio_url` 需要上传实际的试听音频文件 +- 建议路径:`/uploads/voice/sample/音色名称.mp3` + +#### TTS模型配置 +- `tts_model_id` 和 `voice_code` 字段需要根据实际使用的TTS服务填写 +- 当前示例使用的是 `cosyvoice-v2`,请根据实际情况修改 + +#### 时间戳 +- SQL中使用 `UNIX_TIMESTAMP()` 自动生成当前时间戳 +- 如果需要指定时间,可以替换为具体的时间戳值 + +### 3. 数据调整建议 + +1. **价格调整**:根据实际运营策略调整金币价格 +2. **亲密度值**:根据游戏平衡性调整亲密度增加值 +3. **排序权重**:根据受欢迎程度调整 `weigh` 值(数字越大越靠前) +4. **VIP专属**:可以根据需要调整哪些物品设为VIP专属 + +### 4. 扩展建议 + +- **礼物**:可以添加更多节日限定、季节限定礼物 +- **换装**:可以添加更多主题风格(如:职业装、运动装、睡衣等) +- **音色**:可以添加更多角色风格(如:机器人、小动物、精灵等) + +--- + +## 📊 数据统计 + +| 类型 | 免费数量 | 收费数量 | VIP专属 | 总计 | +|------|---------|---------|---------|------| +| 礼物 | 0 | 28 | 0 | 32 | +| 换装 | 15 | 39 | 4 | 58 | +| 音色 | 6 | 28 | 4 | 36 | + +--- + +## ⚠️ 重要提示 + +1. **执行前备份数据库** +2. **检查表结构是否匹配** +3. **图片和音频文件需要单独上传** +4. **TTS参数需要根据实际服务配置** +5. **建议先在测试环境执行,确认无误后再在生产环境执行** + +--- + +生成时间:2026年2月1日