Skip to content

Commit

Permalink
Merge pull request ao-space#14 from big-dust/sdk
Browse files Browse the repository at this point in the history
fix: store box_info
  • Loading branch information
zhongguang-iscas authored Oct 21, 2023
2 parents 8c953de + f39ab0e commit d146d0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion biz/service/pair/register_box.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ func ServiceRegisterBox() error {
}

logger.AppLogger().Infof("ServiceRegisterBox, rsp:%+v", resp)

// 保存盒子信息
device.SetNetworkClient(&device.NetworkClientInfo{ClientID: resp.NetWorkClient.ClientId,
SecretKey: resp.NetWorkClient.SecretKey})
return nil
}

Expand Down

0 comments on commit d146d0e

Please sign in to comment.