Переглянути джерело

feat : 新增支付方式和商户选择列表接口

bilingfeng 2 роки тому
батько
коміт
a95162c551

+ 1 - 2
game-module/game-manage/src/main/java/com/zanxiang/manage/controller/ChoiceController.java

@@ -15,7 +15,6 @@ import io.swagger.annotations.ApiResponses;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -135,7 +134,7 @@ public class ChoiceController {
     }
 
     @ApiOperation(value = "商户选择列表")
-    @PostMapping(value = "/pay/merchant/list")
+    @GetMapping(value = "/pay/merchant/list")
     @PreAuthorize(permissionKey = "sdk:payMerchantChoice:list")
     @ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = PayMerchantChoiceVO.class, responseContainer = "list")})
     public ResultVO<List<PayMerchantChoiceVO>> payMerchantChoiceList() {