Home  >  Q&A  >  body text

java - 它们是公用一套后端的代码吗?还是网站写一套,APP端再写一套?如果是公用一套接口是restful api风格吗?

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

![请输入代码][2]

PHP中文网PHP中文网2744 days ago594

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:49:49

    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

    reply
    0
  • 高洛峰

    高洛峰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.

    reply
    0
  • Cancelreply