bluntdel

Results 9 comments of bluntdel

Extractly I defined like yours. @Shadowmaple But I can't modify the request sent by swagger. How can I customize my request sent by swagger?

Thanks for your recommended humanize package.@drewhbestbuddy **But I'm trying to read values from user's file,how can I know it is number format or string format.** Some of them will pass...

Exactly,the only problem is I can not know what its real type in the Excel. Anyway, sincerely thanks for your reply.

我觉得还是为了计算方便吧,即使数据库存储是decimal的,应用中处理浮点数也是比较头疼的。 存整数进行计算的话,计算完再除以精度是比较方便的。 但是我觉得有个问题是精度如果发生变化,难道要去更新所有数据吗。会有更好的方法吗? 以及如果涉及金额的字段比较多,是不是要多维护很多个scale字段呢。

大佬们,你们的更新顺序有点奇怪。。为什么不先写仓储、订单这些核心的业务。。 而是秒杀、抽奖这些外围的业务。。 按照你们这个更新效率感觉要tj啊。。要加油啊。

我想看下各种分布式事务方案的落地还有相关的各种运营报表、对账olap方案,不知道到时候是哪位大佬执笔。

煎鱼大佬,我们这边的POST请求都是application/json,然后在body中自定义了一些snTime,token之类的字段。所以现在需要自定义请求格式。 但我有看到 gin-swagger使用的是压缩后的swagger-ui.js 。所以我现在该怎样改动实现我的需求呢?

How is it going ? @easonlin404 We need add some params like "sn" to all my post request,so we need modify swagger.js How can we realize it ?