//新增生活方式评测结果
        public JsonResult addLifeResult(string device_id, string smoke_score, string drink_score, string life_score, string exercise_score, string sleep_score)
        {
            var res = new JsonResult();

            BLL.User user = new BLL.User();
            bool     flag = user.AddLifeResult(device_id, smoke_score, drink_score, life_score, exercise_score, sleep_score);

            if (flag)
            {
                res.Data = new
                {
                    success = true
                };
            }
            else
            {
                res.Data = new
                {
                    success = false,
                    backMsg = "提交失败,请重试"
                };
            }
            res.JsonRequestBehavior = JsonRequestBehavior.AllowGet;//允许使用GET方式获取,否则用GET获取是会报错。

            return(res);
        }