支付功能动态化扩展
This commit is contained in:
12
web/services/product.go
Normal file
12
web/services/product.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package services
|
||||
|
||||
import q "platform/web/queries"
|
||||
|
||||
var Product = &productService{}
|
||||
|
||||
type productService struct{}
|
||||
|
||||
// 获取产品价格
|
||||
func (s *productService) GetPrice(code string) {
|
||||
q.ProductSku.Where(q.ProductSku.Code.Eq(code)).Find()
|
||||
}
|
||||
Reference in New Issue
Block a user