code: def join_url_params(dic):
      
      
      od = OrderedDict(sorted(dic.items()))
      
      url = '?'
      temp_str = urlencode(od)
      
      url = url + temp_str
      
      return url
docs: 根据传入的键值对，拼接 url 后面 ? 的参数，比如 ?key1=value1&key2=value2
  
      :param:
          * dic: (dict) 参数键值对
      :return:
          * result: (string) 拼接好的参数
  
      举例如下::
  
          print('--- splice_url_params demo ---')
          dic1 = {'key1': 'value1', 'key2': 'value2'}
          print(splice_url_params(dic1))
          print('---')
  
      执行结果::
  
          --- splice_url_params demo ---
          ?key1=value1&key2=value2
          ---