|
@@ -243,7 +243,7 @@ class Order extends Model
|
|
* @return int
|
|
* @return int
|
|
* @throws \Exception
|
|
* @throws \Exception
|
|
*/
|
|
*/
|
|
- public function createOrder($userId, $data, $intro_uid)
|
|
|
|
|
|
+ public function createOrder($userId, $data)
|
|
{
|
|
{
|
|
$data['userId'] = $userId;
|
|
$data['userId'] = $userId;
|
|
|
|
|
|
@@ -286,7 +286,7 @@ class Order extends Model
|
|
'book_realname' => $data['book_realname'] ?? '',
|
|
'book_realname' => $data['book_realname'] ?? '',
|
|
'book_mobile' => $data['book_mobile'] ?? '',
|
|
'book_mobile' => $data['book_mobile'] ?? '',
|
|
|
|
|
|
- 'intro_uid' => $intro_uid,
|
|
|
|
|
|
+
|
|
]);
|
|
]);
|
|
|
|
|
|
$id = $this->id;
|
|
$id = $this->id;
|