BuildRegisterRequest trpc.qq_new_tech.status_svc.StatusService.Register
(app *auth.AppInfo, device *auth.DeviceInfo)
| 11 | |
| 12 | // BuildRegisterRequest trpc.qq_new_tech.status_svc.StatusService.Register |
| 13 | func BuildRegisterRequest(app *auth.AppInfo, device *auth.DeviceInfo) []byte { |
| 14 | return proto.DynamicMessage{ |
| 15 | 1: strings.ToUpper(device.GUID), |
| 16 | 2: 0, |
| 17 | 3: app.CurrentVersion, |
| 18 | 4: 0, |
| 19 | 5: 2052, |
| 20 | 6: proto.DynamicMessage{ |
| 21 | 1: device.DeviceName, |
| 22 | 2: app.Kernel, |
| 23 | 3: device.SystemKernel, |
| 24 | 4: "", |
| 25 | 5: app.VendorOS, |
| 26 | }, |
| 27 | 7: false, // set_mute |
| 28 | 8: false, // register_vendor_type |
| 29 | 9: true, // regtype |
| 30 | }.Encode() |
| 31 | } |
| 32 | |
| 33 | // BuildSSOHeartbeatRequest trpc.qq_new_tech.status_svc.StatusService.SsoHeartBeat |
| 34 | func BuildSSOHeartbeatRequest() []byte { |