@cpzxrobot/sdk 1.1.57 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/camera_gateway.ts +1 -1
- package/dist/camera_gateway.js +1 -1
- package/package.json +1 -1
- package/readme.md +1 -0
package/camera_gateway.ts
CHANGED
|
@@ -44,7 +44,7 @@ export class CameraGateway extends Object {
|
|
|
44
44
|
//获取工厂天气
|
|
45
45
|
async weather(id: number): Promise<any> {
|
|
46
46
|
var axios = await this.context.ready;
|
|
47
|
-
const response = await axios.get(`/api/v1/weather?
|
|
47
|
+
const response = await axios.get(`/api/v1/weather?factoryId=${id}`);
|
|
48
48
|
return response.data;
|
|
49
49
|
}
|
|
50
50
|
|
package/dist/camera_gateway.js
CHANGED
|
@@ -29,7 +29,7 @@ class CameraGateway extends Object {
|
|
|
29
29
|
//获取工厂天气
|
|
30
30
|
async weather(id) {
|
|
31
31
|
var axios = await this.context.ready;
|
|
32
|
-
const response = await axios.get(`/api/v1/weather?
|
|
32
|
+
const response = await axios.get(`/api/v1/weather?factoryId=${id}`);
|
|
33
33
|
return response.data;
|
|
34
34
|
}
|
|
35
35
|
async control(data, action, start, stop) {
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -175,6 +175,7 @@ baseURL: "/"
|
|
|
175
175
|
| cpzxrobot().project.inquiry.export | 导出项目询盘信息,传入project_id参数,建议传入自定义文件名,否则默认文件名 |
|
|
176
176
|
| cpzxrobot().project.inquiry.approval | 审批项目询盘,传入id参数和审批意见 |
|
|
177
177
|
| cpzxrobot().project.document.list | 获得项目文档列表,传入project_id参数 |
|
|
178
|
+
| cpzxrobot().project.document.export | 导出项目文档信息,传入id参数,建议传入自定义文件名,否则默认文件名 |
|
|
178
179
|
| cpzxrobot().project.material.list | 获得项目物料到货列表,传入project_id参数 |
|
|
179
180
|
| cpzxrobot().project.attendance.list | 获得项目到岗列表,传入project_id参数 |
|
|
180
181
|
| cpzxrobot().project.constructionTeam.list | 获得项目施工队列表,传入project_id参数 |
|