Esempio n. 1
0
        public string MobileApps(string appid, string appkey, string packagename, string os)
        {
            BllLogin bl     = new BllLogin();
            int      status = bl.MobileApps(appid, appkey, packagename, os);

            if (status == -1)
            {
                return(Utils.GetResult("参数错误.", statusCode.Code.failure));
            }
            else if (status == 2)
            {
                return(Utils.GetResult("已存在.", statusCode.Code.success));
            }
            else if (status > 0)
            {
                return(Utils.GetResult("操作成功.", statusCode.Code.success));
            }
            return(Utils.GetResult("操作失败.", statusCode.Code.failure));
        }