Преглед изворни кода

更改商品分享导致仰养老金不正确问题

hefei пре 1 година
родитељ
комит
4a96739469
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/controller/api/store/product/StoreProduct.php

+ 2 - 2
app/controller/api/store/product/StoreProduct.php

@@ -892,7 +892,7 @@ class StoreProduct extends BaseController
892 892
 //            $mmerchat_data = Db::name('merchant')->where('mer_id', $pdata['mer_id'])->find();
893 893
 //            $mer_name = $mmerchat_data['mer_name'];
894 894
             $price = $pdata['price'];
895
-            $yanglao=$ProductRepository->yanglaojin($pdata['product_id']);
895
+            $yanglao=$ProductRepository->pvParm($pdata['product_id']);
896 896
 //            if($pdata['type'] == 5){
897 897
 //                $mer_name = Db::name('big_warehouse') -> where('id',$pdata['dc_id']) -> value('warehouse_name');
898 898
 //            $price = $pdata['dc_price'];
@@ -914,7 +914,7 @@ class StoreProduct extends BaseController
914 914
 
915 915
                 'text' => array(
916 916
                     array(
917
-                        'text' => $yanglao,
917
+                        'text' => $yanglao['yanglao'],
918 918
                         'left' => 160,
919 919
                         'top' => 315,
920 920
                         'fontPath' => $filelink['Normal'],     //字体文件