public IHttpActionResult PostMyCategory(MyCategory myCategory)
        {
            if (myCategory == null ||
                string.IsNullOrEmpty(myCategory.user_id) ||
                string.IsNullOrEmpty(myCategory.group_code) ||
                myCategory.categorys == null ||
                myCategory.categorys.Count <= 0)
            {
                return(BadRequest("参数不合规"));
            }

            var list = myCategory.categorys.Select(p => new data.stockcategory_user_map
            {
                cate_code  = p.code,
                user_id    = myCategory.user_id,
                group_code = myCategory.group_code
            }).ToList();

            try
            {
                categoryService.AddMyCategory(list);
                versionService.UpdateUserDataVersion(myCategory.user_id, data.DataVersionCode.my_category.ToString(), myCategory.version);
                return(Ok <Message>(new Message()
                {
                    success = true
                }));
            }
            catch (Exception ex)
            {
                return(this.InternalServerError(ex));
            }
        }