DBApi icon indicating copy to clipboard operation
DBApi copied to clipboard

api返回参数

Open youngsun45 opened this issue 2 years ago • 1 comments

建议返回头参数配置,比如返回头中要求有status,msg等格式如下: { "status": 0, "msg": "", "data": { ...其他字段 } } 可在返回头中添加任意自己要求的字段

这样可以适配更多的客户端,满足不同的需求。

youngsun45 avatar Jul 13 '22 01:07 youngsun45

只有客户端去适配服务端,哪有服务端适配客户端

freakchick avatar Jul 19 '22 05:07 freakchick