Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "test/base/testapidocunittest-issue-stringbeingtreadasarray"

Index

Object literals

Object literals

Const doc

doc: object

descriptions

descriptions: object[] = [{function: undefined,description: "获取所有农事记录",detailDescription: "获取所有农事记录",queryParameters: [{key: "department",example: 8,type: "number",description: "option,部门 id,0 和不带任何变量为显示有权限的所有部门"},{key: "enterprise",example: 1,type: "number",description: "option,企业 id,不带为显示用户所属企业"},{key: "query",example: "下雨",type: "string",description: "option,模糊查询用户名或备注"},{key: "start",example: "2018-08-01",type: "string",description: "option,农事时间在 start 以后的时间"},{key: "end",example: "2018-10-01",type: "string",description: "option,农事时间在 end 以后的时间"},{key: "sort_type",example: "ASC",type: "string",description: "option,default 是 DESC,只接受 asc, desc 两个"},],method: "GET",uri: "/farmrecord/all",requestHeaders: {"token": "f7ce2aae08d917292fb20c8ec4a41ea707bea715f61a89729a77116f3cc9cb6f2a73e1f2e97ebf5cdc384e458b592e4e"},responseBody: {"data": {"farmrecords": [{"id": 445,"recordLatitude": 37.20937100428181,"recordLongitude": 120.63112306813393,"recordText": "","recordAudioUrl": "https://gago-data.oss-cn-beijing.aliyuncs.com/agri3/14-0.0015465769743243651-iat.mp3","recordAudioLen": 12,"recordPictureUrls": ["https://gago-data.oss-cn-beijing.aliyuncs.com/agri3/14-0.0015465769743243651-1535414232000.jpg","https://gago-data.oss-cn-beijing.aliyuncs.com/agri3/14-0.0015465769743243651-1535414232287.jpg","https://gago-data.oss-cn-beijing.aliyuncs.com/agri3/14-0.0015465769743243651-1535414232152.jpg"],"userName": "栖霞木村","userId": 14,"updatedAt": "2018-08-28T06:09:21.000Z"}],"code": 200}},additionalConditions: [{keyPath: "data/farmrecords/0/id",type: "KeyExist"},{keyPath: "data/farmrecords/0/recordLatitude",type: "KeyExist"},{keyPath: "data/farmrecords/0/recordLongitude",type: "KeyExist"},{keyPath: "data/farmrecords/0/recordText",type: "KeyExist"},{keyPath: "data/farmrecords/0/recordAudioLen",type: "KeyExist"},{keyPath: "data/farmrecords/0/recordPictureUrls",type: "KeyExist"},{keyPath: "data/farmrecords/0/userName",type: "KeyExist"},{keyPath: "data/farmrecords/0/userId",type: "KeyExist"},{keyPath: "data/farmrecords/0/updatedAt",type: "KeyExist"}]}]

groupName

groupName: string = "Monitor"