Skip to content

Commit

Permalink
fix utm
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Feb 24, 2025
1 parent f28eaaa commit a96b529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/Api/V1/Shop/Customer/CartController.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ public function OrderStatus(Request $request) {
$order_utm['utm_term'] = $utm_term;
$order_utm['utm_content'] = $utm_content;

\NexaMerchant\Apps\Apis\Models\OrderUtm::create($order_utm);
\NexaMerchant\Apis\Models\OrderUtm::create($order_utm);

$data = [];
$data['order'] = $order;
Expand Down Expand Up @@ -936,7 +936,7 @@ public function OrderAddSync(Request $request) {
$order_utm['utm_term'] = $utm_term;
$order_utm['utm_content'] = $utm_content;

\NexaMerchant\Apps\Apis\Models\OrderUtm::create($order_utm);
\NexaMerchant\Apis\Models\OrderUtm::create($order_utm);

//customer id
$cus_id = isset($input['cus_id']) ? trim($input['cus_id']) : null;
Expand Down
4 changes: 1 addition & 3 deletions src/Models/OrderUtm.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?php
namespace NexaMerchant\Apps\Apis\Models;
namespace NexaMerchant\Apis\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class OrderUtm extends Model {
use HasFactory;

protected $table = 'order_utm';

Expand Down

0 comments on commit a96b529

Please sign in to comment.