Authored by mali

加erp请求前缀,nginx拒绝erp外网请求,防止被刷接口

... ... @@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
* @date 2018/9/25
*/
@RestController
@RequestMapping(value="/order/appraise")
@RequestMapping(value="/erp/order/appraise")
@ServiceDesc("orderAppraise")
public class AppraiseController {
... ...
... ... @@ -234,7 +234,7 @@ public class BuyerOrderController {
@IgnoreSession
@IgnoreSignature
@RequestMapping(value = "/confirmReceive")
@RequestMapping(value = "/erp/confirmReceive")
@ResponseBody
public ApiResponse confirmReceive(@RequestBody OrderRequest request) {
LOG.info("method ufo.depot.confirmReceive in, req is {}", request);
... ...
... ... @@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping(value="/order/buyerOrderMeta")
@RequestMapping(value="/erp/order/buyerOrderMeta")
@ServiceDesc("orderBuyerOrderMeta")
public class BuyerOrderMeta4PlatformController {
private final Logger logger = LoggerUtils.getBuyerOrderLogger();
... ...
... ... @@ -271,7 +271,7 @@ public class PaymentController {
@IgnoreSignature
@IgnoreSession
//@RequestMapping(params = "method=ufo.order.manualDealMon")
@RequestMapping(value="/manualDealMon")
@RequestMapping(value="/erp/manualDealMon")
public ApiResponse manualDealMon(@RequestBody ManualDealRequest req) {
try {
paymentService.manualDeal(req);
... ...
... ... @@ -185,7 +185,7 @@ public class SellerOrderController {
* @return
* @throws GatewayException
*/
@RequestMapping(value="/offShelveByErp")
@RequestMapping(value="/erp/offShelveByErp")
@ResponseBody
@IgnoreSession
@IgnoreSignature
... ...
... ... @@ -21,7 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
* Created by craig.qin on 2018/9/11.
*/
@RestController
@RequestMapping(value="/user/realNameAuthorize")
@RequestMapping(value="/erp/user/realNameAuthorize")
@ServiceDesc("userRealNameAuthorize")
public class RealNameAuthorize4PlatformController {
private Logger logger = LoggerFactory.getLogger(RealNameAuthorize4PlatformController.class);
... ...