mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
- 在 App 结构中添加 cron 实例,用于定时任务调度 - 新增 SetStockAICron 函数,用于设置股票自动分析的 cron 表达式- 在前端 stock 组件中添加 cron 字段,允许用户输入定时任务规则 - 在后端 StockDataApi 中添加 SetStockAICron 方法,用于更新数据库中的 cron 信息 - 修改前端保存逻辑,当用户设置 cron 时,调用 SetStockAICron接口保存
116 lines
3.1 KiB
JavaScript
116 lines
3.1 KiB
JavaScript
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function AddPrompt(arg1) {
|
|
return window['go']['main']['App']['AddPrompt'](arg1);
|
|
}
|
|
|
|
export function CheckUpdate() {
|
|
return window['go']['main']['App']['CheckUpdate']();
|
|
}
|
|
|
|
export function DelPrompt(arg1) {
|
|
return window['go']['main']['App']['DelPrompt'](arg1);
|
|
}
|
|
|
|
export function ExportConfig() {
|
|
return window['go']['main']['App']['ExportConfig']();
|
|
}
|
|
|
|
export function Follow(arg1) {
|
|
return window['go']['main']['App']['Follow'](arg1);
|
|
}
|
|
|
|
export function FollowFund(arg1) {
|
|
return window['go']['main']['App']['FollowFund'](arg1);
|
|
}
|
|
|
|
export function GetAIResponseResult(arg1) {
|
|
return window['go']['main']['App']['GetAIResponseResult'](arg1);
|
|
}
|
|
|
|
export function GetConfig() {
|
|
return window['go']['main']['App']['GetConfig']();
|
|
}
|
|
|
|
export function GetFollowList() {
|
|
return window['go']['main']['App']['GetFollowList']();
|
|
}
|
|
|
|
export function GetFollowedFund() {
|
|
return window['go']['main']['App']['GetFollowedFund']();
|
|
}
|
|
|
|
export function GetPromptTemplates(arg1, arg2) {
|
|
return window['go']['main']['App']['GetPromptTemplates'](arg1, arg2);
|
|
}
|
|
|
|
export function GetStockList(arg1) {
|
|
return window['go']['main']['App']['GetStockList'](arg1);
|
|
}
|
|
|
|
export function GetVersionInfo() {
|
|
return window['go']['main']['App']['GetVersionInfo']();
|
|
}
|
|
|
|
export function GetfundList(arg1) {
|
|
return window['go']['main']['App']['GetfundList'](arg1);
|
|
}
|
|
|
|
export function Greet(arg1) {
|
|
return window['go']['main']['App']['Greet'](arg1);
|
|
}
|
|
|
|
export function NewChatStream(arg1, arg2, arg3, arg4) {
|
|
return window['go']['main']['App']['NewChatStream'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function SaveAIResponseResult(arg1, arg2, arg3, arg4, arg5) {
|
|
return window['go']['main']['App']['SaveAIResponseResult'](arg1, arg2, arg3, arg4, arg5);
|
|
}
|
|
|
|
export function SaveAsMarkdown(arg1, arg2) {
|
|
return window['go']['main']['App']['SaveAsMarkdown'](arg1, arg2);
|
|
}
|
|
|
|
export function SendDingDingMessage(arg1, arg2) {
|
|
return window['go']['main']['App']['SendDingDingMessage'](arg1, arg2);
|
|
}
|
|
|
|
export function SendDingDingMessageByType(arg1, arg2, arg3) {
|
|
return window['go']['main']['App']['SendDingDingMessageByType'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetAlarmChangePercent(arg1, arg2, arg3) {
|
|
return window['go']['main']['App']['SetAlarmChangePercent'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetCostPriceAndVolume(arg1, arg2, arg3) {
|
|
return window['go']['main']['App']['SetCostPriceAndVolume'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetStockAICron(arg1, arg2) {
|
|
return window['go']['main']['App']['SetStockAICron'](arg1, arg2);
|
|
}
|
|
|
|
export function SetStockSort(arg1, arg2) {
|
|
return window['go']['main']['App']['SetStockSort'](arg1, arg2);
|
|
}
|
|
|
|
export function ShareAnalysis(arg1, arg2) {
|
|
return window['go']['main']['App']['ShareAnalysis'](arg1, arg2);
|
|
}
|
|
|
|
export function UnFollow(arg1) {
|
|
return window['go']['main']['App']['UnFollow'](arg1);
|
|
}
|
|
|
|
export function UnFollowFund(arg1) {
|
|
return window['go']['main']['App']['UnFollowFund'](arg1);
|
|
}
|
|
|
|
export function UpdateConfig(arg1) {
|
|
return window['go']['main']['App']['UpdateConfig'](arg1);
|
|
}
|