//const serviceUrl= 'http://v.jspang.com:8088/baixing/'; //const serviceUrl= 'http://test.baixingliangfan.cn/baixing/'; //http://10.2.10.141:7300/mock/5fbb7f720e0cfd151c87e9f2/hyzp_ybqx/user/login // const serviceUrl = // 'http://10.2.10.141:7300/mock/5fbb7f720e0cfd151c87e9f2/hyzp_ybqx/'; //20210109又换回该地址 //const ServiceUrl = 'http://49.235.208.235:9001/'; //20210123更换为该地址 //http://125.64.218.67:9904/docs.php // const serviceUrl_ybqx = 'http://125.64.218.67:9904/'; //图片视频需要添加前缀:http://125.64.218.67:9908 import 'package:hyzp_ybqx511528_xingwen/components/commonFun.dart'; //const serviceUrl_ybqx_media = 'http://125.64.218.67:9908/'; //20201222更换为该地址 //http://125.64.218.67:9901/docs.php //const ServiceUrl = 'http://125.64.218.67:9901/'; // const ServiceUrlJd = 'http://jd.itying.com/imgupload/'; ///点位视频(Dwsp)接口Url // const ServiceDwspUrl = 'http://125.64.218.67:9901'; class ServicePath { ///用户登录相关接口 static const String loginUrl = serviceUrl_ybqx + '?s=App.User_User.Login'; //用户名登录 static const String modifyPwUrl = serviceUrl_ybqx + '?s=App.User_User.Cpass'; //根据账号和原密码进行修改密码操作 static const String loginStateUrl = serviceUrl_ybqx + '?s=App.User_User.CheckSession'; static const String getUserInfoUrl = serviceUrl_ybqx + '?s=App.User_User.Profile'; //获取我的个人信息 static const String uploadImageUrl = serviceUrl_ybqx + '?s=App.Car_Upload.Pic'; //上传黑烟图片 ///人脸注册和登录相关接口 static const String uploadFaceregUrl = serviceUrl_ybqx + '?s=App.User_User.Facereg'; //人脸注册接口 static const String uploadFaceloginUrl = serviceUrl_ybqx + '?s=App.User_User.Facelogin'; //人脸识别登录接口 static const String getUserListUrl = serviceUrl_ybqx + '?s=App.User_User.GetUserList'; //获取用户分页列表数据 ///用户权限管理 static const String getUserAccessUrl = serviceUrl_ybqx + '?s=App.User_User.GetAccess'; //1、根据用户ID获取用户所属角色 static const String getUserGroupUrl = serviceUrl_ybqx + '?s=App.User_User.GetGroup'; //2、获取后台用户角色分组数据 static const String getUserGroupListUrl = serviceUrl_ybqx + '?s=App.User_User.GetGroupList'; //3、获取后台用户角色分组分页列表数据 static const String getUserAuthUrl = serviceUrl_ybqx + '?s=App.User_User.GetAuth'; //4、获取后台功能分类数据 static const String getUserAuthListUrl = serviceUrl_ybqx + '?s=App.User_User.GetAuthList'; //5、获取后台功能分类分页列表数据 ///违章信息数据相关接口 // static const String getWzxxGetDataUrl = ServiceUrl + '?s=App.Car_Yjxx.Get'; //获取违章信息单条数据 // static const String getWzxxGetAllUrl = ServiceUrl + '?s=App.Car_Yjxx.GetAll'; //获取违章信息全部分页列表数据 // static const String getWzxxGetListUrl = ServiceUrl + '?s=App.Car_Yjxx.GetList'; //获取违章信息分页列表数据 // static const String auditWzxxUrl = ServiceUrl + '?s=App.Car_Yjxx.Workflow'; //违章信息审核 static const String getWzxxGetDataUrl = serviceUrl_ybqx + '?s=App.Car_Hyc.Get'; //获取违章信息单条数据 static const String getWzxxGetAllUrl = serviceUrl_ybqx + '?s=App.Car_Hyc.GetAll'; //获取违章信息全部分页列表数据 static const String getWzxxGetListUrl = serviceUrl_ybqx + '?s=App.Car_Hyc.GetList'; //获取违章信息分页列表数据 static const String updateWzxxUrl = serviceUrl_ybqx + '?s=App.Car_Yjxx.Update'; //违章信息更新 ////违章信息审核相关接口 static const String auditWzxxUrl = serviceUrl_ybqx + '?s=App.Car_Hyc.Workflow'; //违章信息审核 static const String getShenheUrl = serviceUrl_ybqx + '?s=App.Car_Hyc.GetShenhe'; //获取审核信息 static const String getNtimeUrl = serviceUrl_ybqx + '?s=App.Car_Hyc.GetNtime'; //获取违章间隔时间数据 static const String tsjjGetTsStatus = serviceUrl_ybqx + '?s=App.Car_Hyc.GetTs'; //获取推送交警状态信息 static const String tsjjFtpUpftpUrl = serviceUrl_ybqx + '?s=App.Car_Ftp.Upftp'; //向交警服务器推送数据 static const String tsjjFtpUptsztUrl = serviceUrl_ybqx + '?s=App.Car_Ftp.Uptszt'; //回写推送交警状态 ///Zpjl为抓拍记录缩写 static const String getZpjlGetUrl = serviceUrl_ybqx + '?s=App.Car_Yjxx.Get'; //根据ID获取对应抓拍记录列表数据 static const String getZpjlGetAllUrl = serviceUrl_ybqx + '?s=App.Car_Yjxx.GetAll'; //获取全部抓拍记录分页列表数据 static const String getZpjlGetListUrl = serviceUrl_ybqx + '?s=App.Car_Yjxx.GetList'; //根据审核状态获取抓拍记录分页列表数据 ///获取设备信息接口 static const String getSbbjGetListUrl = serviceUrl_ybqx + '?s=App.Car_Bjxx.GetList'; //获取设备报警信息分页列表数据 static const String getSbbjGetUrl = serviceUrl_ybqx + '?s=App.Car_Bjxx.Get'; //获取设备报警信息单条数据 static const String auditSbbjUrl = serviceUrl_ybqx + '?s=App.Car_Bjxx.Workflow'; //核查处理设备报警信息 static const String getMachineGetListUrl = serviceUrl_ybqx + '?s=App.Car_Machine.GetList'; //获取设备管理信息分页列表数据 //http://125.64.218.67:9901/?s=App.Car_Sbbj.GetList static const String getMachineGetDataUrl = serviceUrl_ybqx + '?s=App.Car_Machine.Get'; //获取设备管理信息单条数据 ///LED字幕信息 static const String getLedXsxxGetListUrl = serviceUrl_ybqx + '?s=App.Car_Led.GetList'; //获取LED显示信息分页列表数据 static const String getLedXsxxGetUrl = serviceUrl_ybqx + '?s=App.Car_Led.Get'; //获取LED信息单条数据 //static const String insertLedXsxxUrl = ServiceUrl + '?s=App.Car_Led.Insert'; //添加LED字幕,已取消该接口 static const String updateLedXsxxGetUrl = serviceUrl_ybqx + '?s=App.Car_Led.Update'; //更新LED数据 ///点位信息 static const String getDwinfoGetListUrl = serviceUrl_ybqx + '?s=App.Car_Dwinfo.GetList'; //获取点位信息分页列表数据 ///统计信息 static const String getStaYjxxUrl = serviceUrl_ybqx + '?s=App.Car_Statis.GetStaYjxx'; //获取抓拍统计数据 static const String getStaHycUrl = serviceUrl_ybqx + '?s=App.Car_Statis.GetStaHyc'; //获取审核黑烟车统计数据 static const String getStaCllUrl = serviceUrl_ybqx + '?s=App.Car_Statis.GetStaCll'; //获取车流量统计数据 static const String getStaAllUrl = serviceUrl_ybqx + '?s=App.Car_Statis.GetStaAll'; //获取今日所有统计数据 static const String getRStaCllUrl = serviceUrl_ybqx + '?s=App.Car_Statis.GetStaView'; //获取车流量日统计数据(含早晚高峰) // ///点位视频(Dwsp)播放 // //1、系统登录 // static const String getDwspLoginUrl = ServiceDwspUrl + '/api/v1/system/login'; // // //2、获取设备列表 // static const String getDwspDeviceListUrl = ServiceDwspUrl + '/api/v1/device/list'; // // //'http://125.64.218.67:9908/api/v1/device/list' // //3、根据设备ID获取实时直播接口 - 开始实时直播 // static const String getDwspStartRtmpUrl = ServiceDwspUrl + '/api/v1/stream/start'; // // //4、开始实时直播 // static const String getDwspStopRtmpUrl = ServiceDwspUrl + '/api/v1/stream/stop'; //5、关闭实时直播 // ///测试用,获取点位视频播放地址,类似 'http://125.64.218.67:9908/rtmp/1.php' // ///const ServiceMediaUrl = 'http://125.64.218.67:9908/'; // // static const String getDwspUrl = ServiceMediaUrl + 'rtmp/'; //5、球机方向控制接口说明: // 接口地址:http://125.64.218.67:9906/api/ptz/{通道ID}/{球机ID} // static const String setSphericalCameraUrl = 'http://125.64.218.67:9906/api/ptz/'; //球机方向控制接口 //6、获取 Apk 下载地址 // api = http://sctastech.com/download/index.html // http://www.sctastech.com/download/hyzp_20210425.apk // 接口地址:http://sctastech.com/download/index.html static const String getVerUrl = serviceUrl_ybqx + '?s=App.Car_Ver.Getver'; //获取最新版本号 }