Spring Cloud Feign 報:Method not annotated with HTTP method type (ex. GET, POST)

緣由1:繼承了BaseFeign  也就是說父類可能已經有相同的方法了,而你在子類又寫了一個同樣的方法app 解決:檢查是否有相同請求URL或者方法名同樣的FEIGN請求code   小記:繼承   若是被調用端,也就是controoler用了基礎類型參數,如:public ResultDTO<T> getAllList(Integer page,Integer pageSize);get 那麼f
相關文章
相關標籤/搜索