总结:优秀设计技巧整理

喜你入骨 提交于 2019-11-29 21:31:17

1、查询接口设计

入参:以tag的方式,如propertyKey,propertyValue

解释:

  • propertyKey即查询的条件字段是什么?sn?uuid?ip?
  • propertyValue即条件值,如果是uuid的话,条件值是xxxx-xxxx-xxxx-xxxx

后端sql:where 1 = 1 and propertyKey = propertyValue

2、

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!