java - 它们是公用一套后端的代码吗?还是网站写一套,APP端再写一套?如果是公用一套接口是restful api风格吗?
PHP中文网
PHP中文网 2017-04-18 10:47:49
0
2
593

下图是网站看到和app端开发的数据,它们是公用一套后端的代码吗?还是网站写一套,APP端再写一套?如果是公用一套接口是restful api风格吗

![请输入代码][2]

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
刘奇
  1. A common set, the web server does the forwarding

  2. The team will decide the plan within the team, no matter what it is

小葫芦

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!