Files
xingque/pages/dashouduan/dashouduan.js
XingQue f4565b0ebd feat: 客服自动回复、历史消息修复、扫码兼容页与商家头像
- 新增 scriptService 对接话术接口,cs-chat 支持关键词自动回复
- chat-history 增加 waitChatImReady,修复私聊/群聊/客服历史加载
- 恢复 dashouduan/guanshiduan 兼容页跳转 fighter 保留旧二维码
- 商家我的页头像与标签挤压样式优化

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 11:59:21 +08:00

15 lines
472 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/** 旧二维码兼容dashouduan → 打手中心inviteCode 自动注册逻辑不变 */
import { parseSceneOptions } from '../../utils/base-page.js';
Page({
onLoad(options) {
const parsed = parseSceneOptions(options || {});
const inviteCode = parsed.inviteCode || options.inviteCode || '';
let url = '/pages/fighter/fighter';
if (inviteCode) {
url += `?inviteCode=${encodeURIComponent(inviteCode)}`;
}
wx.reLaunch({ url });
},
});