dingtalk-app-server icon indicating copy to clipboard operation
dingtalk-app-server copied to clipboard

后端定义DTO对象

Open lilingj opened this issue 3 years ago • 1 comments

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

lilingj avatar Jan 29 '22 05:01 lilingj

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

zhanyeye avatar Jan 29 '22 06:01 zhanyeye