[*] 日常优化

This commit is contained in:
acgist
2023-10-12 08:14:19 +08:00
parent 69be5ada9b
commit cff7bca9fc
2 changed files with 2 additions and 4 deletions

View File

@@ -1436,8 +1436,7 @@ class Taoyao extends RemoteClient {
* @param {*} clientId 终端ID
*/
controlPhotograph(clientId) {
const me = this;
me.request(protocol.buildMessage("control::photograph", {
this.request(protocol.buildMessage("control::photograph", {
to: clientId
}));
}
@@ -1451,7 +1450,6 @@ class Taoyao extends RemoteClient {
defaultControlPhotograph(message, body) {
console.debug("拍照", message);
this.push(message);
// TODO拍照
}
/**