public async Task <MessageModel <string> > Post([FromBody] ExcelMapToModel dictionary)
        {
            var data = new MessageModel <string>();

            var id = (await _dictionaryServices.Add(dictionary));

            data.success = id > 0;
            if (data.success)
            {
                data.response = id.ObjToString();
                data.msg      = "添加成功";
            }
            return(data);
        }
        public async Task <MessageModel <string> > Put([FromBody] ExcelMapToModel dictionary)
        {
            var data = new MessageModel <string>();

            if (dictionary != null && dictionary.Id > 0)
            {
                data.success = await _dictionaryServices.Update(dictionary);

                if (data.success)
                {
                    data.msg      = "更新成功";
                    data.response = dictionary?.Id.ObjToString();
                }
            }
            return(data);
        }