-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix some problems in paper and url service #79
Conversation
接口文档已修改 |
典中典 没有signed |
@@ -83,7 +85,7 @@ func UploadVersionInfo(ctx context.Context, c *app.RequestContext) { | |||
return | |||
} | |||
|
|||
url := "http://127.0.0.1:5000/api/upload" | |||
url := fmt.Sprintf("http://%s:5000/api/upload", constants.URLServiceName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全部写在 constants 吧,加上注释,不然后面的人看不懂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个我认为不必要,接口总共10几个,全放constants不合适,并且这个模块是需要重构的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这么多接口,全是历年卷的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这么多接口,全是历年卷的?
这个不是历年卷,是136url的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
136 是哪一个,之前的迁移文档我找不到了,现在还有哪些没迁移
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
就剩这个了,136可以看接口文档的隐私政策部分
你忘记传你的 key 了,可以看一下具体的操作 |
url: Modified url format
paper: When it was compatible with the URL, it was found that the parameters of downloadUrl did not match the Android version and was modified.
Modifications have been made when deployed on the server