添加createUrl()函数，自动生成链接

Change-Id: Ia452914fb9c9493465bb210427119c8bb25885e4