下图是网站看到和app端开发的数据,它们是公用一套后端的代码吗?还是网站写一套,APP端再写一套?如果是公用一套接口是restful api风格吗
![请输入代码][2]
怪我咯2017-04-18 10:49:49
A common set, the web server does the forwarding
The team will decide the plan within the team, no matter what it is
高洛峰2017-04-18 10:49:49
The API interfaces on PC and mobile should be as consistent as possible, especially the business interfaces, to ensure uniformity and good maintainability.
But in some cases, due to the different characteristics of both ends, separate interfaces will be developed in small quantities.