Merge branch 'hotfix-20260126-constructor-issue' into pre
This commit is contained in:
commit
9f0dadbb52
@ -6,9 +6,12 @@ import cn.axzo.msg.center.api.response.v3.MessageSendRespV3;
|
||||
import cn.azxo.framework.common.model.CommonResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
import javax.validation.Valid;
|
||||
|
||||
/**
|
||||
* @author yanglin
|
||||
*/
|
||||
@ -20,7 +23,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
||||
public interface MessageAPIV3 {
|
||||
|
||||
@RequestMapping(value = "api/message/v3/send", method = RequestMethod.POST)
|
||||
CommonResponse<MessageSendRespV3> send(MessageSendReqV3 req);
|
||||
CommonResponse<MessageSendRespV3> send(@RequestBody @Valid MessageSendReqV3 req);
|
||||
|
||||
class FallbackFactory extends LoggingFallbackFactory {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user