Skip to content
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

后端定义DTO对象 #98

Open
lilingj opened this issue Jan 29, 2022 · 1 comment
Open

后端定义DTO对象 #98

lilingj opened this issue Jan 29, 2022 · 1 comment

Comments

@lilingj
Copy link
Member

lilingj commented Jan 29, 2022

  • 说明:现阶段后端controller层返回值全是Map,而且前端依赖undefined值,即后端返回的Map中没有定义字段,前端依赖了后端这个行为。
  • 要求:后端定义DTO对象,前端修改逻辑
@zhanyeye
Copy link
Member

zhanyeye commented Jan 29, 2022

对啦,也不全是 Map 值,很多是VO对象 (Value Object), 和DTO 差不多,后面怎么改,你们看情况决定是用 DTO还是 VO
我当时也很纠结

@lilingj lilingj moved this from Todo 🎈 to In Progress ✨ in Dingtalk App R&D Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

4 participants