From 2a90a990b00c68a67a1e3227856d8b8114839f39 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 1 Feb 2023 20:16:27 +0800 Subject: [PATCH] 10076 --- BBWY.Client/App.xaml.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/BBWY.Client/App.xaml.cs b/BBWY.Client/App.xaml.cs index efed654d..7a6cd3ca 100644 --- a/BBWY.Client/App.xaml.cs +++ b/BBWY.Client/App.xaml.cs @@ -63,13 +63,13 @@ namespace BBWY.Client //userToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxNDM5OTE0NjczMzA5NzQ5MjQ4IiwidGVhbUlkIjoiMTQ0ODY4MTU0NDE4ODE3MDI0MCIsImV4cCI6MTY4NjQ1OTY0Mn0.4yCbZxOtogD0N868-YgySR5A-16VNnrp8fC13VCRs20"; //齐越耐克 #else - var uid = e.Args.Count() > 0 ? e.Args.LastOrDefault(args => args.StartsWith("uid:")) : string.Empty; - if (string.IsNullOrEmpty(uid)) - { - MessageBox.Show("缺少启动参数", "提示"); - Environment.Exit(0); - } - var tokenResult = ReadMMF(uid); + //var uid = e.Args.Count() > 0 ? e.Args.LastOrDefault(args => args.StartsWith("uid:")) : string.Empty; + //if (string.IsNullOrEmpty(uid)) + //{ + // MessageBox.Show("缺少启动参数", "提示"); + // Environment.Exit(0); + //} + var tokenResult = ReadMMF(); if (tokenResult.isOk) userToken = tokenResult.content; else @@ -160,7 +160,7 @@ namespace BBWY.Client Console.WriteLine(e.Exception); } - public (bool isOk, string content) ReadMMF(string mapname) + public (bool isOk, string content) ReadMMF() { try