search

Home  >  Q&A  >  body text

javascript - 怎样实现对不同的URL地址,进行不同的操作?

1.项目的测试地址,上线地址不同,现在通过一个方法,实现跳转至不同的地址,应该如何设计;
2.怎样设计此组件更高效;
3.根据公共参数判断跳转前缀

ringa_leeringa_lee2771 days ago606

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 09:21:13

    Use Gradle script configuration
    Gradle common configuration

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:21:13

    Would you consider using nginx to filter URLs regularly and proxy different addresses

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:21:13

    Use Gradle to set up the automatic packaging environment. The debug environment and the release environment are different. You can see the link below:
    Set up the automatic packaging environment

    reply
    0
  • Cancelreply