feat: 同步管理端、用户端与后端业务,并接通线上 Web 接口
补齐平台订阅、外部登录、CRM 同步与用户端页面;Nginx 转发用户端接口,登录页使用 Google 与 Apple 标志。 Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -7,6 +7,7 @@ import {
|
||||
LeadEntity,
|
||||
LeadStatus,
|
||||
OwnerPageData,
|
||||
OwnerPagePagination,
|
||||
OwnerPageQuery,
|
||||
RadarTrack,
|
||||
} from '../../common/types.uts';
|
||||
@@ -45,6 +46,7 @@ export type LeadsCopyKey =
|
||||
| 'sourceQr'
|
||||
| 'sourceLink'
|
||||
| 'sourceAi'
|
||||
| 'stats'
|
||||
| 'statTotal'
|
||||
| 'statHot'
|
||||
| 'statNew'
|
||||
@@ -69,11 +71,7 @@ export type LoadLeadsApi = {
|
||||
|
||||
export type LoadLeadsResult = {
|
||||
list: LeadEntity[];
|
||||
pagination: {
|
||||
page: number;
|
||||
size: number;
|
||||
total: number;
|
||||
};
|
||||
pagination: OwnerPagePagination;
|
||||
empty: boolean;
|
||||
errorMessage: string;
|
||||
};
|
||||
@@ -211,6 +209,9 @@ export function resolveLeadsText(key: LeadsCopyKey): string {
|
||||
if (key === 'sourceAi') {
|
||||
return 'AI Chat';
|
||||
}
|
||||
if (key === 'stats') {
|
||||
return zh ? '统计' : 'Stats';
|
||||
}
|
||||
if (key === 'statTotal') {
|
||||
return zh ? '总潜客' : 'Total Leads';
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户