コード例 #1
0
ファイル: search.go プロジェクト: jsix/wechat
func NewSearchQuery3(applyId int64, begin, count int) *SearchQuery {
	return &SearchQuery{
		Type:    3,
		ApplyId: util.Int64(applyId),
		Begin:   util.Int(begin),
		Count:   util.Int(count),
	}
}
コード例 #2
0
ファイル: update.go プロジェクト: jsix/wechat
func NewDeviceIdentifier3(deviceId int64, uuid string, major, minor int) *DeviceIdentifier {
	return &DeviceIdentifier{
		DeviceId: util.Int64(deviceId),
		UUID:     uuid,
		Major:    util.Int(major),
		Minor:    util.Int(minor),
	}
}
コード例 #3
0
ファイル: search.go プロジェクト: jsix/wechat
func NewSearchQuery2(pageId int64, begin, count int) *SearchQuery {
	return &SearchQuery{
		Type:   2,
		PageId: util.Int64(pageId),
		Begin:  util.Int(begin),
		Count:  util.Int(count),
	}
}
コード例 #4
0
ファイル: update.go プロジェクト: jsix/wechat
func NewDeviceIdentifier1(deviceId int64) *DeviceIdentifier {
	return &DeviceIdentifier{
		DeviceId: util.Int64(deviceId),
	}
}