附近小店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

db_goods_sku.go 277 B

3 months ago
123456789101112131415
  1. package db
  2. import (
  3. "applet/app/db/model"
  4. "xorm.io/xorm"
  5. )
  6. func GetGoodsSku(eg *xorm.Engine, goodsId string) *[]model.CommunityTeamSku {
  7. var data []model.CommunityTeamSku
  8. err := eg.Where("goods_id=?", goodsId).Find(&data)
  9. if err != nil {
  10. return nil
  11. }
  12. return &data
  13. }