|
|
@@ -23,7 +23,7 @@ import java.util.List; |
|
|
import java.util.Random; |
|
|
import java.util.Random; |
|
|
|
|
|
|
|
|
@RestController |
|
|
@RestController |
|
|
@RequestMapping("wxQuestion") |
|
|
|
|
|
|
|
|
@RequestMapping("/api/wxQuestion") |
|
|
@Api(description="问券调查") |
|
|
@Api(description="问券调查") |
|
|
public class WxQuestionController extends BaseController { |
|
|
public class WxQuestionController extends BaseController { |
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass()); |
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass()); |
|
|
@@ -71,7 +71,7 @@ public class WxQuestionController extends BaseController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("设置问券配置") |
|
|
@ApiOperation("设置问券配置") |
|
|
@PostMapping("answerQuestion") |
|
|
|
|
|
|
|
|
@PostMapping("/api/answerQuestion") |
|
|
public Result answerQuestion(@RequestBody WxQuestionLog wxQuestionLog) { |
|
|
public Result answerQuestion(@RequestBody WxQuestionLog wxQuestionLog) { |
|
|
if (wxQuestionLog == null) |
|
|
if (wxQuestionLog == null) |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|