/// <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"); } }
/// <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"); } }