-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持神奇九转 #25
Comments
大佬 东方财富的 api url 是从什么地方获取啊, 有文档/文章链接吗? |
抓包获取的 |
大佬 这个数据是需要自己抓吗? 基金列表打开一片空白…… |
定时任务工作日18点更新,手动更新可以把 https://github.com/axiaoxin-com/x-stock/blob/main/cron/fund_test.go#L10 这个单元测试打开跑一下就可以了。 或者把配置文件里面的 env改为prod,启动服务时会进行数据同步 |
运行以后以后开始报错了……我没有go的运行环境, 直接下的x64 exe, 是必须得去下go吗 |
不需要,你要把配置文件也下下来 config.toml @GGACHA |
不是改这部分吗 |
第12行的env @GGACHA |
不行…… |
@GGACHA 你下的不是最新版本吗?或者看看配置文件里面sentry dsn随便填个字符串不要为空 |
@axiaoxin dsn非空也试过了. ---cli的另外一个小问题---
-? 也报了个小错误囧 |
@GGACHA 没有-?这个参数。问题已经修复了。定时任务获取时区导致的,代码已经改成获取失败不panic了,下载v1.2.28应该可以正常用了。 golang获取时区在windows上需要有go环境,如果定时任务执行时间不对的话可以考虑安装下golang环境 |
@axiaoxin 看上去似乎引发了新的报错…好像还是时区的问题
|
麻烦贴一下完整的报错 |
不用了,已经跑起来了
我根据这行代码上网下了个包然后加载一波环境变量就好了 (:3|∠) 我等会开个issue把日志贴那边吧, 然后在那边写一下流程 |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: