shiyj1101
2021-08-05 e57e32fc43da31917912eebb4e47d4e50df1a9e9
java110-service/src/main/java/com/java110/service/api/BusinessApi.java
old mode 100644 new mode 100755
@@ -1,13 +1,13 @@
package com.java110.service.api;
import com.java110.core.base.controller.BaseController;
import com.java110.core.factory.DataTransactionFactory;
import com.java110.service.context.DataQuery;
import com.java110.service.context.DataQueryFactory;
import com.java110.service.smo.IQueryServiceSMO;
import com.java110.utils.constant.CommonConstant;
import com.java110.utils.constant.ResponseConstant;
import com.java110.utils.util.Assert;
import com.java110.service.context.DataQueryFactory;
import com.java110.core.factory.DataTransactionFactory;
import com.java110.core.base.controller.BaseController;
import com.java110.service.context.DataQuery;
import com.java110.service.smo.IQueryServiceSMO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
@@ -166,6 +166,17 @@
        }
    }
    @RequestMapping(path = "/businessApi/fallBack", method = RequestMethod.POST)
    public ResponseEntity<String> fallBack(@RequestBody String fallBackInfo) {
        try {
            return queryServiceSMOImpl.fallBack(fallBackInfo);
        } catch (Exception e) {
            logger.error("请求订单异常", e);
            return new ResponseEntity<String>("处理异常", HttpStatus.BAD_REQUEST);
        }
    }
    public IQueryServiceSMO getQueryServiceSMOImpl() {
        return queryServiceSMOImpl;
    }