可以,搞清楚controller 和service 区别就知道怎么划分了,service 方法一般是带事务的,尤其是对于写事务,而controller 方法不应该带事务,看你的业务是需要什么样的事务控制来决定怎么调用。
Python+rust会是一个强大的组合吗?
为什么个人需要公网ip?