|
@@ -11,10 +11,7 @@ import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiResponse;
|
|
import io.swagger.annotations.ApiResponse;
|
|
import io.swagger.annotations.ApiResponses;
|
|
import io.swagger.annotations.ApiResponses;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author : lingfeng
|
|
* @author : lingfeng
|
|
@@ -42,7 +39,7 @@ public class InitController {
|
|
|
|
|
|
@UnSignCheck
|
|
@UnSignCheck
|
|
@ApiOperation(value = "微信小游戏壳包控制开关")
|
|
@ApiOperation(value = "微信小游戏壳包控制开关")
|
|
- @PostMapping("/shell/switch")
|
|
|
|
|
|
+ @GetMapping("/shell/switch")
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Boolean.class)})
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Boolean.class)})
|
|
public ResultVO<Integer> getShellSwitch(@RequestParam String appId, @RequestParam String version) {
|
|
public ResultVO<Integer> getShellSwitch(@RequestParam String appId, @RequestParam String version) {
|
|
return ResultVO.ok(gameAppletShellService.getShellSwitch(appId, version));
|
|
return ResultVO.ok(gameAppletShellService.getShellSwitch(appId, version));
|