国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

java - 桌面+移動兩個網(wǎng)站模板如何部署?
伊謝爾倫
伊謝爾倫 2017-04-17 15:04:04
0
3
356

服務(wù)器 nginx+ tomcat

桌面端 www.oschina.net

移動端 m.oschina.net

桌面和移動端是兩個模板 , 是部署2個程序呢? 還是在一個程序里判斷訪問url進行判斷選擇模板?

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(3)
Peter_Zhu

It is easier to operate by making two programs

Peter_Zhu

I wonder if there is a module similar to tp to bind domain names? It can be different modules in one project. The mobile terminal switching template is judged through the URL. If the logical parts of the two are somewhat inconsistent, it is better to write the program separately for better management... Common data can be implemented by accessing a certain interface. In this way, if the function is changed, the interface is changed, and the template is corresponding. Everyone changes their own

Ty80

Deploy two sites, determine whether it is a mobile terminal or PC terminal in the entrance, and jump to the corresponding site respectively.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template