Kaynağa Gözat

客户端-下单-解决写入公证处时提示’未查询到订单信息‘问题

sunxbiao 10 ay önce
ebeveyn
işleme
90172c6aa0

+ 2 - 0
app/common/repositories/gzc/GzcLogRepository.php

@@ -47,6 +47,7 @@ class GzcLogRepository extends BaseRepository
47 47
      */
48 48
     public function addGzcLog(int $uid, string $userName, string $mobile, string $userCard, int $orderType, string $orderId, float $pension, int $payType = 0): GzcLogEntity
49 49
     {
50
+        $linkId = 0;
50 51
         $orderSn = '';
51 52
         $payTime = '';
52 53
         if ($orderType == CommonEnum::ORDER_TYPE['Platform']['code']) {
@@ -68,6 +69,7 @@ class GzcLogRepository extends BaseRepository
68 69
         /** @var GzcLogEntity $gzcLogEntity */
69 70
         $gzcLogEntity = GzcLogEntity::newInstance();
70 71
         $gzcLogEntity->setUid($uid)
72
+            ->setPlatformNo('IN10' . (int)(microtime(true) * 1000) . mt_rand(10000, 99999))
71 73
             ->setUserName($userName)
72 74
             ->setMobile($mobile)
73 75
             ->setUserCard($userCard)

+ 1 - 1
app/common/repositories/user/UserBillRepository.php

@@ -600,7 +600,7 @@ class UserBillRepository extends BaseRepository
600 600
                                 $userCertificationEntity->getMobile(),
601 601
                                 $userCertificationEntity->getUserCard(),
602 602
                                 $userBillEntity->getTypeShop(),
603
-                                $userBillEntity->getOrderSn(),
603
+                                $userBillEntity->getLinkId(),
604 604
                                 $userBillEntity->getNumber()
605 605
                             );
606 606