|
@@ -3,7 +3,6 @@ package order
|
|
|
import (
|
|
|
"eta/eta_mini_ht_api/common/exception"
|
|
|
"eta/eta_mini_ht_api/controllers"
|
|
|
- productService "eta/eta_mini_ht_api/service/product"
|
|
|
)
|
|
|
|
|
|
type OrderController struct {
|
|
@@ -28,12 +27,12 @@ func (o *OrderController) CreateProductOrder() {
|
|
|
//报告的风险等级 套餐的风险等级
|
|
|
//创单
|
|
|
|
|
|
- productInfo, err := productService.GetProductInfoById(productId)
|
|
|
- if err != nil {
|
|
|
- o.FailedResult("获取商品详情失败", result)
|
|
|
- return
|
|
|
- }
|
|
|
- o.SuccessResult("获取商品详情成功", productInfo, result)
|
|
|
+ //productInfo, err := productService.GetProductInfoById(productId)
|
|
|
+ //if err != nil {
|
|
|
+ // o.FailedResult("获取商品详情失败", result)
|
|
|
+ // return
|
|
|
+ //}
|
|
|
+ //o.SuccessResult("获取商品详情成功", productInfo, result)
|
|
|
return
|
|
|
})
|
|
|
//
|