示例#1
0
 /// <summary>
 /// 获取当前UUID
 /// </summary>
 /// <returns></returns>
 public static string GetUUID(string connectionId, QRCodeTypes qrCodeType, string targetUrl)
 {
     try
     {
         var model = new QRCodeAction().GetValidModel(connectionId, qrCodeType, targetUrl);
         return(model.ToJson(connectionId, qrCodeType, targetUrl));
     }
     catch
     {
         return("ERROR");
     }
 }
示例#2
0
 /// <summary>
 /// 获取当前UUID
 /// </summary>
 /// <returns></returns>
 public static string GetUUID(string connectionId)
 {
     try
     {
         var model = new QRCodeAction().GetValidModel(connectionId);
         return(model.ToJson(connectionId));
     }
     catch
     {
         return("ERROR");
     }
 }