Skip to content

Commit

Permalink
跟进satori
Browse files Browse the repository at this point in the history
  • Loading branch information
super1207 committed Oct 9, 2024
1 parent b68632f commit e6220cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/botconn/satoriv1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ impl Satoriv1Connect {
lk.clear();
for item in logins {
let platform = read_json_str(item, "platform");
let self_id = read_json_str(item, "self_id");
let self_id = item["user"]["id"].as_str().ok_or("login中不存在user-id字段")?;
cq_add_log_w(&format!("add account:`{}`:`{}`",platform,self_id)).unwrap();
lk.push((platform,self_id));
lk.push((platform,self_id.to_owned()));
}
}else if op == "0" {
// 业务
Expand Down

0 comments on commit e6220cb

Please sign in to comment.