service里调别人提供的接口
2018-08-13 本文已影响0人
仰望天堂_e6c6
@Service
public interface MssmService {
//http头
@Headers({"Content-Type: application/json","Accept: application/json"})
//接口地址
@RequestLine("POST /mssm/.../api/msspReportList?customerNum={var1}&date={var2}&type={var3}&sort={var4}")
ReturnResult getReportList(@Param(value ="var1") String var1, @Param(value ="var2") String var2, @Param(value ="var3") String var3, @Param(value ="var4") String var4);
}