Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public async Task <CompanyCreditRsp> CompanyCredit(CompanyCreditReq req)
        {
            var reqModel = DianrongHelper.BuildReqModel(req, configModel.ChannelId);
            var rst      = await DianrongHelper.GetDianrongRsp <CompanyCreditRsp>(configModel.CompanyCreditUrl, reqModel);

            return(rst);
        }
Exemplo n.º 2
0
        public async Task <IActionResult> CompanyCredit([FromBody] CompanyCreditReq req)
        {
            var rst = await dianrongService.CompanyCredit(req);

            return(Ok(rst));
        }