Commit 2652504b authored by hj's avatar hj

更新

parent 54132199
...@@ -196,6 +196,7 @@ class RhawnProductService ...@@ -196,6 +196,7 @@ class RhawnProductService
$products = $this->rhawnProductRepository->getProductByPcode($pCode); $products = $this->rhawnProductRepository->getProductByPcode($pCode);
if($products){ if($products){
$products = current($products); $products = current($products);
$products['m_price'] = $products['p_price'];
/*$discount = app(RhawnCustomerRepositoryEloquent::class)->getCustomerDiscountByCusCode($cusCode); /*$discount = app(RhawnCustomerRepositoryEloquent::class)->getCustomerDiscountByCusCode($cusCode);
if($discount){ if($discount){
$products['m_price'] = $products['p_price']; $products['m_price'] = $products['p_price'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment