|
@@ -25,10 +25,9 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
|
|
|
|
|
|
[Route("/reg")]
|
|
|
- public IActionResult Register(string c, string v = "", string url = "app-manager.kexiaoshuang.com")
|
|
|
+ public IActionResult Register(string c, string v = "", string k = "creater", string url = "app-manager.kexiaoshuang.com")
|
|
|
{
|
|
|
- string kind = "creater";
|
|
|
- string appini = function.GetWebRequest("http://" + url + "/noauth/SystemSet/makeAppInitData?kind=" + kind + "&appVersion=" + v);
|
|
|
+ string appini = function.GetWebRequest("http://" + url + "/noauth/SystemSet/makeAppInitData?kind=" + k + "&appVersion=" + v);
|
|
|
if (!string.IsNullOrEmpty(appini))
|
|
|
{
|
|
|
if (appini.Contains("#cut#"))
|