|
|
@@ -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)
|