Example #1
0
        public Response CheckLangVersion(string token, [FromBody] SingleField param)
        {
            Response response = new Response();

            if (string.IsNullOrEmpty(token) || !token.Equals(_token))
            {
                response.code    = "404";
                response.message = "Invild token";
            }
            else
            {
                bool res = LanguageHelper.CheckLangVersion(param.key, param.guid);

                response.content = res;
            }

            return(response);
        }