示例#1
0
文件: list.go 项目: Wang/wechat
func NewSearchQuery2(ShopId int64, PageIndex, PageSize int) *SearchQuery {
	return &SearchQuery{
		ShopId:    util.Int64(ShopId),
		PageIndex: PageIndex,
		PageSize:  PageSize,
	}
}
示例#2
0
文件: search.go 项目: Wang/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),
	}
}
示例#3
0
文件: update.go 项目: Wang/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),
	}
}
示例#4
0
文件: search.go 项目: Wang/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),
	}
}
示例#5
0
文件: update.go 项目: Wang/wechat
func NewDeviceIdentifier1(deviceId int64) *DeviceIdentifier {
	return &DeviceIdentifier{
		DeviceId: util.Int64(deviceId),
	}
}