mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-26 00:19:17 +08:00
Update Order.php
This commit is contained in:
parent
c1c80dcda4
commit
f56e0a3665
@ -60,7 +60,7 @@ class Order extends Auth
|
||||
$order['uid'] = $this->uuid;
|
||||
$order['order_no'] = CodeExtend::uniqidDate(18, 'N');
|
||||
// 推荐人处理
|
||||
$order['puid1'] = input('puid1', $this->user['pid1']);
|
||||
$order['puid1'] = input('from', $this->user['pid1']);
|
||||
if ($order['puid1'] == $this->uuid) $order['puid1'] = 0;
|
||||
if ($order['puid1'] > 0) {
|
||||
$map = ['id' => $order['puid1'], 'status' => 1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user