public IActionResult Put(string docTypeId, [FromBody] ViewModel.DocTypeViewModel docTypeViewModel)
        {
            /*判断是否合法*/
            if (ModelState.IsValid)
            {
                try
                {
                    bool isDocTypeUpdate = DocTypeConfig.Update(docTypeId, docTypeViewModel.DocTypeName, 1,
                                                                docTypeViewModel.DocPreTypeId, docTypeViewModel.DocTypeDeptId, docTypeViewModel.DocTypeNum,
                                                                this.User.Identities.First(u => u.IsAuthenticated).FindFirst("UsrId").Value);
                    /*判断是否修改成功*/
                    return(!isDocTypeUpdate
                        ? Ok(new { result = false, tips = ResponseMessageTips.MSG_DOCTYPE_UPDATE_FAIL })
                        : Ok(new { result = true, tips = ResponseMessageTips.MSG_DOCTYPE_UPDATE_SUCCESS }));
                }
                catch (Exception e)
                {
                    return(Ok(new { result = false, tips = ResponseMessageTips.MSG_PROCESS_EXCEPTION + e.Message.ToString() }));
                }
            }

            return(Ok(new { result = false, tips = ResponseMessageTips.MSG_PROCESS_DATA_FORMAT_ERROR }));
        }