微服务接口参数格式必须如此,否则其他应用调用出错报 Unsatisfied dependency expressed through field,FactoryBean threw exception

public ResultModel loadAccountById(@RequestParam(name = "meterId", required = false) Long meterId,
                                   @RequestParam(name = "contractId", required = false) Long contractId,
                                   @RequestParam(name = "scheduleDate") Date scheduleDate,
                                   @RequestParam(name = "billingDate") Date billingDate) {

}

必须有   (name = "contractId", required = false)

你可能感兴趣的:(微服务接口参数格式必须如此,否则其他应用调用出错报 Unsatisfied dependency expressed through field,FactoryBean threw exception)