Documentation ¶
Index ¶
- func GetCommentPageData(rawData []models.NideshopComment, page int, size int) utils.PageData
- func GetOrderPageData(rawData []models.NideshopOrder, page int, size int) utils.PageData
- type AddorDeleteRtnJson
- type AddressController
- type AddressListRtnJson
- type AddressSaveBody
- type Attribute
- type AuthController
- type AuthLoginBody
- type Banner
- type BrandController
- type BrandDetailRtnJson
- type CartAddBody
- type CartAddress
- type CartCheckedBody
- type CartController
- type CartDeleteBody
- type CartTotal
- type CartUpdateBody
- type CatalogController
- type CateLogCurRtnJson
- type CateLogIndexRtnJson
- type CategoryRtnJson
- type CheckoutRtnJson
- type CollectController
- type CollectListRtnJson
- type CommenListtRtnJson
- type Comment
- type CommentController
- type CommentCountRtnJson
- type CommentInfo
- type CommentUser
- type CountRtnJson
- type CurCategory
- type DetailRtnJson
- type FilterCategory
- type FootprintController
- type FootprintListRtnJson
- type GoodsController
- func (this *GoodsController) Goods_Category()
- func (this *GoodsController) Goods_Count()
- func (this *GoodsController) Goods_Detail()
- func (this *GoodsController) Goods_Filter()
- func (this *GoodsController) Goods_Hot()
- func (this *GoodsController) Goods_Index()
- func (this *GoodsController) Goods_List()
- func (this *GoodsController) Goods_New()
- func (this *GoodsController) Goods_Related()
- func (this *GoodsController) Goods_Sku()
- type GoodsCount
- type GoodsSpecifition
- type HotRtnJson
- type IndexCartData
- type IndexController
- type IndexRtnJson
- type ListRtnJson
- type NewRtnJson
- type OrderController
- type OrderDetailRtnJson
- type OrderInfo
- type OrderListRtnJson
- type PayController
- type RegionController
- type SearchController
- type SearchIndexRtnJson
- type SkuRtnJson
- type TopicController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommentPageData ¶
It may need to be refactored.
func GetOrderPageData ¶
It may need to be refactored.
Types ¶
type AddorDeleteRtnJson ¶
type AddorDeleteRtnJson struct {
HandleType string
}
type AddressController ¶
type AddressController struct {
beego.Controller
}
func (*AddressController) Address_Delete ¶
func (this *AddressController) Address_Delete()
func (*AddressController) Address_Detail ¶
func (this *AddressController) Address_Detail()
func (*AddressController) Address_List ¶
func (this *AddressController) Address_List()
func (*AddressController) Address_Save ¶
func (this *AddressController) Address_Save()
type AddressListRtnJson ¶
type AddressSaveBody ¶
type AuthController ¶
type AuthController struct {
beego.Controller
}
func (*AuthController) Auth_LoginByWeixin ¶
func (this *AuthController) Auth_LoginByWeixin()
type AuthLoginBody ¶
type AuthLoginBody struct { Code string `json:"code"` UserInfo services.ResUserInfo `json:"userInfo"` }
type BrandController ¶
type BrandController struct {
beego.Controller
}
func (*BrandController) Brand_Detail ¶
func (this *BrandController) Brand_Detail()
func (*BrandController) Brand_List ¶
func (this *BrandController) Brand_List()
type BrandDetailRtnJson ¶
type BrandDetailRtnJson struct {
Data models.NideshopBrand
}
type CartAddBody ¶
type CartAddress ¶
type CartCheckedBody ¶
type CartCheckedBody struct { IsChecked int `json:"isChecked"` ProductIds interface{} `json:"productIds"` }
type CartController ¶
type CartController struct {
beego.Controller
}
func (*CartController) Cart_Add ¶
func (this *CartController) Cart_Add()
func (*CartController) Cart_Checked ¶
func (this *CartController) Cart_Checked()
func (*CartController) Cart_Checkout ¶
func (this *CartController) Cart_Checkout()
func (*CartController) Cart_Delete ¶
func (this *CartController) Cart_Delete()
func (*CartController) Cart_GoodsCount ¶
func (this *CartController) Cart_GoodsCount()
func (*CartController) Cart_Index ¶
func (this *CartController) Cart_Index()
func (*CartController) Cart_Update ¶
func (this *CartController) Cart_Update()
type CartDeleteBody ¶
type CartDeleteBody struct {
ProductIds string `json:"productIds"`
}
type CartUpdateBody ¶
type CatalogController ¶
type CatalogController struct {
beego.Controller
}
func (*CatalogController) Catalog_Current ¶
func (this *CatalogController) Catalog_Current()
func (*CatalogController) Catalog_Index ¶
func (this *CatalogController) Catalog_Index()
type CateLogCurRtnJson ¶
type CateLogCurRtnJson struct {
CurrentCategory CurCategory `json:"currentCategory"`
}
type CateLogIndexRtnJson ¶
type CateLogIndexRtnJson struct { CategoryList []models.NideshopCategory `json:"categoryList"` CurrentCategory CurCategory `json:"currentCategory"` }
type CategoryRtnJson ¶
type CategoryRtnJson struct { CurCategory models.NideshopCategory `json:"currentCategory"` ParentCategory models.NideshopCategory `json:"parentCategory"` BrotherCategory []models.NideshopCategory `json:"brotherCategory"` }
type CheckoutRtnJson ¶
type CheckoutRtnJson struct { Address CartAddress `json:"checkedAddress"` FreightPrice float64 `json:"freightPrice"` CheckedCoupon []models.NideshopUserCoupon `json:"checkedCoupon"` CouponList []models.NideshopUserCoupon `json:"couponList"` CouponPrice float64 `json:"couponPrice"` CheckedGoodsList []models.NideshopCart `json:"checkedGoodsList"` GoodsTotalPrice float64 `json:"goodsTotalPrice"` OrderTotalPrice float64 `json:"orderTotalPrice"` ActualPrice float64 `json:"actualPrice"` }
type CollectController ¶
type CollectController struct {
beego.Controller
}
func (*CollectController) Collect_AddorDelete ¶
func (this *CollectController) Collect_AddorDelete()
func (*CollectController) Collect_List ¶
func (this *CollectController) Collect_List()
type CollectListRtnJson ¶
type CollectListRtnJson struct { models.NideshopCollect ListPicUrl string `json:"list_pic_url"` GoodsBrief string `json:"goods_brief"` RetailPrice float64 `json:"retail_price"` }
type CommenListtRtnJson ¶
type Comment ¶
type Comment struct { Count int64 `json:"count"` Data CommentInfo `json:"data"` }
type CommentController ¶
type CommentController struct {
beego.Controller
}
func (*CommentController) Comment_Count ¶
func (this *CommentController) Comment_Count()
func (*CommentController) Comment_List ¶
func (this *CommentController) Comment_List()
func (*CommentController) Comment_Post ¶
func (this *CommentController) Comment_Post()
type CommentCountRtnJson ¶
type CommentInfo ¶
type CommentUser ¶
type CountRtnJson ¶
type CountRtnJson struct {
GoodsCount int64 `json:"goodsCount"`
}
type CurCategory ¶
type CurCategory struct { models.NideshopCategory SubCategoryList []models.NideshopCategory `json:"subCategoryList"` }
type DetailRtnJson ¶
type DetailRtnJson struct { SkuRtnJson Goods models.NideshopGoods `json:"info"` Galleries []models.NideshopGoodsGallery `json:"gallery"` Attribute []Attribute `json:"attribute"` Issues []models.NideshopGoodsIssue `json:"issue"` UserHasCollect int `json:"userHasCollect"` Comment Comment `json:"comment"` Brand models.NideshopBrand `json:"brand"` }
type FilterCategory ¶
type FootprintController ¶
type FootprintController struct {
beego.Controller
}
func (*FootprintController) Footprint_Delete ¶
func (this *FootprintController) Footprint_Delete()
func (*FootprintController) Footprint_List ¶
func (this *FootprintController) Footprint_List()
type FootprintListRtnJson ¶
type GoodsController ¶
type GoodsController struct {
beego.Controller
}
func (*GoodsController) Goods_Category ¶
func (this *GoodsController) Goods_Category()
func (*GoodsController) Goods_Count ¶
func (this *GoodsController) Goods_Count()
func (*GoodsController) Goods_Detail ¶
func (this *GoodsController) Goods_Detail()
func (*GoodsController) Goods_Filter ¶
func (this *GoodsController) Goods_Filter()
func (*GoodsController) Goods_Hot ¶
func (this *GoodsController) Goods_Hot()
func (*GoodsController) Goods_Index ¶
func (this *GoodsController) Goods_Index()
func (*GoodsController) Goods_List ¶
func (this *GoodsController) Goods_List()
func (*GoodsController) Goods_New ¶
func (this *GoodsController) Goods_New()
func (*GoodsController) Goods_Related ¶
func (this *GoodsController) Goods_Related()
func (*GoodsController) Goods_Sku ¶
func (this *GoodsController) Goods_Sku()
type GoodsCount ¶
type GoodsCount struct {
CartTotal CartTotal `json:"cartTotal"`
}
type GoodsSpecifition ¶
type GoodsSpecifition struct { models.NideshopGoodsSpecification Name string }
type HotRtnJson ¶
type HotRtnJson struct {
BannerInfo Banner `json:"bannerinfo"`
}
type IndexCartData ¶
type IndexCartData struct { CartList []models.NideshopCart `json:"cartList"` CartTotal CartTotal `json:"cartTotal"` }
type IndexController ¶
type IndexController struct {
beego.Controller
}
func (*IndexController) Index_Index ¶
func (this *IndexController) Index_Index()
type IndexRtnJson ¶
type IndexRtnJson struct { Banners []models.NideshopAd `json:"banner"` Channels []models.NideshopChannel `json:"channel"` Newgoods []orm.Params `json:"newGoodsList"` Hotgoods []orm.Params `json:"hotGoodsList"` BrandList []models.NideshopBrand `json:"brandList"` TopicList []models.NideshopTopic `json:"topicList"` CategoryList []newCategoryList `json:"categoryList"` }
type ListRtnJson ¶
type ListRtnJson struct { utils.PageData FilterCategories []FilterCategory `json:"filterCategory"` GoodsList []orm.Params `json:"goodsList"` }
type NewRtnJson ¶
type NewRtnJson struct {
BannerInfo Banner `json:"bannerinfo"`
}
type OrderController ¶
type OrderController struct {
beego.Controller
}
func (*OrderController) Order_Detail ¶
func (this *OrderController) Order_Detail()
func (*OrderController) Order_Express ¶
func (this *OrderController) Order_Express()
func (*OrderController) Order_List ¶
func (this *OrderController) Order_List()
func (*OrderController) Order_Submit ¶
func (this *OrderController) Order_Submit()
type OrderDetailRtnJson ¶
type OrderDetailRtnJson struct { OrderInfo OrderInfo `json:"orderInfo"` OrderGoods []models.NideshopOrderGoods `json:"orderGoods"` HandleOption models.OrderHandleOption `json:"handleOption"` }
type OrderInfo ¶
type OrderInfo struct { models.NideshopOrder ProvinceName string `json:"province_name"` CityName string `json:"city_name"` DistrictName string `json:"district_name"` FullRegion string `json:"full_region"` Express services.ExpressRtnInfo `json:"express"` OrderStatusText string `json:"order_status_text"` FormatAddTime string `json:"add_time"` FormatFinalPlayTime string `json:"final_pay_time"` }
type OrderListRtnJson ¶
type OrderListRtnJson struct { models.NideshopOrder GoodsList []models.NideshopOrderGoods `json:"goodList"` GoodsCount int `json:"goodsCount"` OrderStatusText string `json:"order_status_text"` HandOption models.OrderHandleOption `json:"handleOption"` }
type PayController ¶
type PayController struct {
beego.Controller
}
func (*PayController) Pay_Prepay ¶
func (this *PayController) Pay_Prepay()
type RegionController ¶
type RegionController struct {
beego.Controller
}
func (*RegionController) Region_Info ¶
func (this *RegionController) Region_Info()
func (*RegionController) Region_List ¶
func (this *RegionController) Region_List()
type SearchController ¶
type SearchController struct {
beego.Controller
}
func (*SearchController) Search_Clearhistory ¶
func (this *SearchController) Search_Clearhistory()
func (*SearchController) Search_Helper ¶
func (this *SearchController) Search_Helper()
func (*SearchController) Search_Index ¶
func (this *SearchController) Search_Index()
type SearchIndexRtnJson ¶
type SearchIndexRtnJson struct { DefaultKeyword models.NideshopKeywords `json:"defaultKeyword"` HistoryKeyworkList []string `json:"historyKeywordList"` HotKeywordList []orm.Params `json:"hotKeywordList"` }
type SkuRtnJson ¶
type SkuRtnJson struct { ProductList []models.NideshopProduct `json:"productList"` SpecificationList []models.SpecificationItem `json:"specificationList"` }
type TopicController ¶
type TopicController struct {
beego.Controller
}
func (*TopicController) Topic_Detail ¶
func (this *TopicController) Topic_Detail()
func (*TopicController) Topic_List ¶
func (this *TopicController) Topic_List()
func (*TopicController) Topic_Related ¶
func (this *TopicController) Topic_Related()
Click to show internal directories.
Click to hide internal directories.