API

智农APP接口

APIDescription
GET UserLogin?AuthNum={AuthNum}&UserAccount={UserAccount}&UserPass={UserPass}&format={format}&sign={sign}

用户登录

GET SendCodeMessage?AuthNum={AuthNum}&Phone={Phone}&TempId={TempId}&format={format}&sign={sign}

极光推送发送验证短信

GET ValidSMSCode?AuthNum={AuthNum}&msgId={msgId}&Code={Code}&format={format}&sign={sign}

验证 验证码是否正确

GET IndexData?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&format={format}&sign={sign}

首页数据 轮播图/标准库/菜单/报警数据

GET WxPayRenew?AuthNum={AuthNum}&ComId={ComId}&ServicesId={ServicesId}&format={format}&sign={sign}

微信支付

GET WxPaySMS?AuthNum={AuthNum}&ComId={ComId}&SmsPackageId={SmsPackageId}&format={format}&sign={sign}

短信购买

GET WxPayRulePackage?AuthNum={AuthNum}&ComId={ComId}&versionNo={versionNo}&format={format}&sign={sign}

标准库购买

GET MonitorList?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&format={format}&sign={sign}

基地列表

GET MonitorInfo?AuthNum={AuthNum}&monitorid={monitorid}&format={format}&sign={sign}

获取单个基地信息

GET PlateList?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&MonitorId={MonitorId}&format={format}&sign={sign}

分区列表

GET PlateInfoList?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&MonitorId={MonitorId}&PlateId={PlateId}&format={format}&sign={sign}

分区详情

GET WeatherStationList?AuthNum={AuthNum}&ComId={ComId}&MonitorId={MonitorId}&UserId={UserId}&format={format}&sign={sign}

气象站列表

GET WeatherStationData?AuthNum={AuthNum}&ComId={ComId}&DeviceMacId={DeviceMacId}&UserId={UserId}&format={format}&sign={sign}

气象站数据

GET GetWebCamList?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&MonitorId={MonitorId}&plateId={plateId}&format={format}&sign={sign}

视频列表接口

GET GetWebCamListScreen?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&MonitorId={MonitorId}&plateId={plateId}&format={format}&sign={sign}

获取视频

GET PlateAvgData?AuthNum={AuthNum}&ComId={ComId}&Plate={Plate}&format={format}&sign={sign}

获取分区平均值

GET PlateWeatherAvgData?AuthNum={AuthNum}&ComId={ComId}&Monitor={Monitor}&format={format}&sign={sign}

获取气象站平均值

GET PlateDeviceDataList?AuthNum={AuthNum}&ComId={ComId}&MonitorId={MonitorId}&PlateId={PlateId}&format={format}&sign={sign}

分区传感器实时数据

GET PowerLossStatistics?AuthNum={AuthNum}&ComId={ComId}&plate={plate}&format={format}&sign={sign}

分区能耗量

GET ControllerList?AuthNum={AuthNum}&ComId={ComId}&MonitorId={MonitorId}&UserId={UserId}&PlateId={PlateId}&format={format}&sign={sign}

控制器设备列表

GET GetAllTopControl?AuthNum={AuthNum}&ComId={ComId}&DeviceMacId={DeviceMacId}&UserId={UserId}&format={format}&sign={sign}

获取全部上级控制器列表

GET WaterfertilizersList?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&MonitorId={MonitorId}&PlateId={PlateId}&format={format}&sign={sign}

水肥机列表

GET GetWaterfertilizerById?AuthNum={AuthNum}&ComId={ComId}&WfId={WfId}&format={format}&sign={sign}

获取水肥机状态

GET GetWfSettingById?AuthNum={AuthNum}&ComId={ComId}&WfId={WfId}&format={format}&sign={sign}

获取水肥机设置参数

GET SetFlowSpeed?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&WfId={WfId}&FlowA={FlowA}&FlowB={FlowB}&FlowC={FlowC}&SpeedA={SpeedA}&SpeedB={SpeedB}&SpeedC={SpeedC}&format={format}&sign={sign}

设置流速流量

GET SetRunState?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&WfId={WfId}&FertilizerState={FertilizerState}&StirA={StirA}&StirB={StirB}&StirC={StirC}&format={format}&sign={sign}

设置启动状态

GET SetRunTime?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&WfId={WfId}&StirA={StirA}&StirB={StirB}&StirC={StirC}&format={format}&sign={sign}

设置运行时长

GET TrendChart?AuthNum={AuthNum}&ComId={ComId}&Plate={Plate}&Type={Type}&DeviceMacId={DeviceMacId}&DataType={DataType}&Date={Date}&format={format}&sign={sign}

走势图

POST IdentifyIntel

智能识别

POST personalDistinguish

我来鉴别

GET ChangeLoginPass?AuthNum={AuthNum}&userId={userId}&comId={comId}&oldPass={oldPass}&newPass={newPass}&confirmPass={confirmPass}&format={format}&sign={sign}

修改登录密码

GET GetUserInfo?AuthNum={AuthNum}&userAccount={userAccount}&UserPass={UserPass}&format={format}&sign={sign}

获取个人信息

GET SetUserInfo?AuthNum={AuthNum}&userAccount={userAccount}&UserPass={UserPass}&userName={userName}&Sex={Sex}&Tel={Tel}&format={format}&sign={sign}

设置个人信息

POST SetUserHeadPic

头像上传

GET ForgetPassWord?AuthNum={AuthNum}&userId={userId}&comId={comId}&msgId={msgId}&Code={Code}&newPass={newPass}&confirmPass={confirmPass}&format={format}&sign={sign}

忘记密码

GET ResetPassWord?AuthNum={AuthNum}&phone={phone}&msgId={msgId}&Code={Code}&newPass={newPass}&confirmPass={confirmPass}&format={format}&sign={sign}

修改密码

GET SMSpackageList?AuthNum={AuthNum}&ComId={ComId}&format={format}&sign={sign}

短信套餐

GET ComServiceTypeList?AuthNum={AuthNum}&ComId={ComId}&format={format}&sign={sign}

企业续费类型

POST UploadPicture

图片上传通用接口

GET GetComInfo?AuthNum={AuthNum}&ComId={ComId}&userId={userId}&format={format}&sign={sign}

企业基本信息

POST InsectUpload

虫情图片接收接口

GET OpenInsectResult?AuthNum={AuthNum}&IDNumber={IDNumber}&format={format}&sign={sign}

气象站数据

POST InsectBZYUpload

孢子捕捉仪图片接收接口

POST WanSendData?AuthNum={AuthNum}&wanMacId={wanMacId}&operModel={operModel}&data={data}&format={format}&sign={sign}

模型下发

POST DeviceSwitch?AuthNum={AuthNum}&cId={cId}&state={state}&format={format}&sign={sign}

设备开关控制

POST SetWFState?AuthNum={AuthNum}&wfId={wfId}&type={type}&state={state}&format={format}&sign={sign}

设置水肥机开关

POST SetFlowSpeedNew?AuthNum={AuthNum}&sign={sign}&wfId={wfId}&speedA={speedA}&speedB={speedB}&speedC={speedC}&flowA={flowA}&flowB={flowB}&flowC={flowC}&format={format}

设置水肥机流速流量

POST SetRunTimeNew?AuthNum={AuthNum}&sign={sign}&wfId={wfId}&StirA={StirA}&StirB={StirB}&StirC={StirC}&format={format}

设置水肥机运行时长

GET GetGroupList?AuthNum={AuthNum}&UserId={UserId}&format={format}&sign={sign}

获取分组列表

GET GetGroupList?AuthNum={AuthNum}&GroupId={GroupId}&format={format}&sign={sign}

获取分组详情

POST SigleControl?AuthNum={AuthNum}&cId={cId}&state={state}&version={version}&format={format}&sign={sign}

单个设备控制

POST GroupControl?AuthNum={AuthNum}&GroupId={GroupId}&state={state}&format={format}&sign={sign}

分组设备控制

GET AppMenuIds?AuthNum={AuthNum}&RoleId={RoleId}&format={format}&sign={sign}

根据角色获取APP菜单id

POST OpenIdOAuth?code={code}&format={format}

根据code获取微信OPENID

GET GetUserInfoByOpenId?AuthNum={AuthNum}&OpenId={OpenId}&format={format}&sign={sign}

根据OpenId获取用户信息

GET BindingOpenId?AuthNum={AuthNum}&UserAccount={UserAccount}&UserPass={UserPass}&OpenId={OpenId}&format={format}&sign={sign}

微信openid绑定

POST DelOpenId?OpenId={OpenId}&format={format}

解除绑定

GET SetUserInfoByUserId?AuthNum={AuthNum}&userId={userId}&userName={userName}&Sex={Sex}&Tel={Tel}&format={format}&sign={sign}

根据userId设置个人信息

POST SetUserHeadPicByUserId

根据用户ID上传头像

POST GetTaskList?AuthNum={AuthNum}&userId={userId}&page={page}&size={size}&monitorId={monitorId}&plateId={plateId}&format={format}&sign={sign}

根据用户ID获取未完成任务分页列表

POST CompleteTask?AuthNum={AuthNum}&taskTargetId={taskTargetId}&imgUrls={imgUrls}&userId={userId}&format={format}&sign={sign}

完成任务提交接口

GET GetAreaWarningList?AuthNum={AuthNum}&ComId={ComId}&UserId={UserId}&page={page}&size={size}&format={format}&sign={sign}

获取报警预警列表

GET GetWanListList?AuthNum={AuthNum}&ComId={ComId}&searchKey={searchKey}&page={page}&size={size}&dtype={dtype}&format={format}&sign={sign}

获取智能设备列表

POST ChangeControlModel?AuthNum={AuthNum}&wanIds={wanIds}&type={type}&format={format}&sign={sign}

手自动模式切换

POST UpdateControlDevice?AuthNum={AuthNum}&wanIds={wanIds}&format={format}&sign={sign}

设备信息上报

POST IssueModel?AuthNum={AuthNum}&wanIds={wanIds}&format={format}&sign={sign}

模型下发

POST IssueControl?AuthNum={AuthNum}&wanIds={wanIds}&format={format}&sign={sign}

控制器设备信息下发

GET GetIntelligencePageList?AuthNum={AuthNum}&ComId={ComId}&searchKey={searchKey}&Status={Status}&ParameterId={ParameterId}&value={value}&page={page}&size={size}&format={format}&sign={sign}

获取大棚智能任务列表

GET GetAllParameterList?AuthNum={AuthNum}&format={format}&sign={sign}

获取参数列表

GET GetParameterList?AuthNum={AuthNum}&userId={userId}&format={format}&sign={sign}

获取已选择的参数列表

POST SaveIntelligence?AuthNum={AuthNum}&id={id}&task_name={task_name}&parameter_id={parameter_id}&operator={operator}&value={value}&status={status}&com_id={com_id}&format={format}&sign={sign}

保存智能任务

GET GetDeviceTypeByPlatIds?AuthNum={AuthNum}&userId={userId}&plates={plates}&format={format}&sign={sign}

根据分区ID获取设备类型列表

GET GetControlListBySearch?AuthNum={AuthNum}&ControlType={ControlType}&DeviceType={DeviceType}&PlateId={PlateId}&id={id}&userId={userId}&format={format}&sign={sign}

根据查询条件获取控制器列表

POST SaveController?AuthNum={AuthNum}&deviceInfo={deviceInfo}&id={id}&userId={userId}&format={format}&sign={sign}

保存智能任务设备信息

POST DeleteIntelligence?AuthNum={AuthNum}&id={id}&format={format}&sign={sign}

删除智能任务

GET XPH_GetPestDeviceList?AuthNum={AuthNum}&ComId={ComId}&format={format}&sign={sign}

获取虫情设备列表

GET XPH_GetDeviceDataList?AuthNum={AuthNum}&ComId={ComId}&imei={imei}&page={page}&size={size}&format={format}&sign={sign}

获取虫情监测数据列表

GET SensorType?AuthNum={AuthNum}&format={format}&sign={sign}

传感器设备类型列表

GET ControlType?AuthNum={AuthNum}&format={format}&sign={sign}

控制器设备类型列表

GET api/API?VersionNo={VersionNo}

No documentation available.

GET api/API?Monitor={Monitor}&Plate={Plate}&Plates={Plates}

No documentation available.

POST api/API?Type={Type}&user={user}&comId={comId}

No documentation available.

GET api/API

No documentation available.

GET api/API?Status={Status}

No documentation available.