|
|
@@ -130,8 +130,16 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
string imgid = parameter.Img; |
|
|
|
|
|
|
|
var url = Config.GetValue("FaceCheckApi"); |
|
|
|
try |
|
|
|
{ |
|
|
|
|
|
|
|
result = Util.HttpMethods.HttpGet($"{url}{userimg}/{imgid}"); |
|
|
|
result = Util.HttpMethods.HttpGet($"{url}{userimg}/{imgid}"); |
|
|
|
} |
|
|
|
catch (Exception e) |
|
|
|
{ |
|
|
|
|
|
|
|
return Fail($"照片验证超时!{e.Message}"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (result == "1") |
|
|
|
{ |
|
|
|