fix 价格
This commit is contained in:
@@ -29,8 +29,9 @@ func NewAdminCreateFeatureLogic(ctx context.Context, svcCtx *svc.ServiceContext)
|
||||
func (l *AdminCreateFeatureLogic) AdminCreateFeature(req *types.AdminCreateFeatureReq) (resp *types.AdminCreateFeatureResp, err error) {
|
||||
// 1. 数据转换
|
||||
data := &model.Feature{
|
||||
ApiId: req.ApiId,
|
||||
Name: req.Name,
|
||||
ApiId: req.ApiId,
|
||||
Name: req.Name,
|
||||
CostPrice: req.CostPrice,
|
||||
}
|
||||
|
||||
// 2. 数据库操作
|
||||
|
||||
Reference in New Issue
Block a user