App/H5 Url生成工具

v0.0.1 by:chen_hao@ctrip.com
门票app列表页按关键字生成url方法:
  1. 将中文字符做encode转码,在线转码链接点击此处。如"东方明珠"转码后为%E4%B8%9C%E6%96%B9%E6%98%8E%E7%8F%A0
  2. 将转码后关键词拼接如下url:
    ticket/index.html#/dest/k-keyword-0/s-tickets?keyword=%E4%B8%9C%E6%96%B9%E6%98%8E%E7%8F%A0
  3. 复制此url做base64编码,base64编码链接点击此处,编码后得到结果dGlja2V0L2luZGV4Lmh0bWwjL2Rlc3Qvay1rZXl3b3JkLTAvcy10aWNrZXRzP2tleXdvcmQ9JUU0JUI4JTlDJUU2JTk2JUI5JUU2JTk4JThFJUU3JThGJUEw
  4. 将编码结果所得拼接得到app搜索结果页最终链接:
    ctrip://wireless/h5?url=dGlja2V0L2luZGV4Lmh0bWwjL2Rlc3Qvay1rZXl3b3JkLTAvcy10aWNrZXRzP2tleXdvcmQ9JUU0JUI4JTlDJUU2JTk2JUI5JUU2JTk4JThFJUU3JThGJUEw&type=1