V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Bingchunmoli
V2EX  ›  程序员

萌新写开源项目,可批判可建议(技术栈所限 SpringBoot)。

  •  
  •   Bingchunmoli · 2022-05-18 19:03:11 +08:00 · 1557 次点击
    这是一个创建于 680 天前的主题,其中的信息可能已经有所发展或是发生改变。
    1. 看到文章: https://www.v2ex.com/t/853756
    2. 我的项目: https://github.com/BingChunMoLi/MoLiAPI
    3. 项目描述:
    • 一个公共的 API 项目练手,尝试新的特性
    • 因为没有其他人关注,所以看自己想写什么些什么
    • 尝试 git flow 的工作流
    • 代码文档均渣。不是很懂规范,可提意见,但要提出为什么谢谢
    1. 在线地址: https://api.bingchunmoli.com/
    7 条回复    2022-05-19 19:07:09 +08:00
    xuanbg
        1
    xuanbg  
       2022-05-18 19:11:30 +08:00
    controller/service 这些文件夹真的没必要。
    tanrunhao
        2
    tanrunhao  
       2022-05-18 19:54:05 +08:00 via Android
    看起来用途挺多,网站无法访问啊 还没发布吗
    Bingchunmoli
        3
    Bingchunmoli  
    OP
       2022-05-18 20:54:29 +08:00
    @tanrunhao 中国大陆正常,境外解析百度云加速。。 比较拉。 主要针对境内服务
    Hyseen
        4
    Hyseen  
       2022-05-19 08:40:15 +08:00 via iPhone
    接口的 content-type 要设置字符集,全都乱码了
    Bingchunmoli
        5
    Bingchunmoli  
    OP
       2022-05-19 13:59:55 +08:00
    @Hyseen 是那个接口吗,chrome edge firfox 默认解码没有问题才没有显式声明
    TigerJie
        6
    TigerJie  
       2022-05-19 17:16:18 +08:00
    不用每个接口都有个单独的包+controller
    Bingchunmoli
        7
    Bingchunmoli  
    OP
       2022-05-19 19:07:09 +08:00
    @TigerJie 1.0 是分开想得太多,2.0 是合起来但是太乱,不如分开清晰。而且页面跳转主要 ide 就能做。3.0 就一直分开了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3594 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:29 · PVG 18:29 · LAX 03:29 · JFK 06:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.