写法1:string xxx
[HttpGet]
public async Task<ResponseInfo<FertilizerV2StatusInfo>> FertilizerGetStatus(string gatCode, int deviceId)
{
}
写法2:FromQuery
[HttpGet]
public async Task<ResponseInfo<FertilizerV2StatusInfo>> FertilizerGetStatus([FromQuery] GatDeviceApiGet api)