Exemplo n.º 1
0
        public async Task <ResponseMessage> SubmitBill(UserInfo User, [FromRoute] string id)
        {
            var r = new ResponseMessage();

            try
            {
                r = await _chargeManager.SubmitBill(User, id);
            }
            catch (Exception e)
            {
                r.Code    = ResponseCodeDefines.ServiceError;
                r.Message = "服务器错误:" + e.Message;
                Logger.Error("提交后补发票失败:\r\n{0}", e.ToString());
            }
            return(r);
        }