Browse Source

一些功能

Kirin 3 years ago
parent
commit
109903dd73
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app/api/controller/PublicController.php

+ 4 - 4
app/api/controller/PublicController.php

@@ -39,10 +39,10 @@ class PublicController
     public function test()
     {
         $uid = 168;
-        $product_id = 13;
-        $exchange_id = 4;
-        $num = 20;
-        $uni = '285296ff';
+        $product_id = 24;
+        $exchange_id = 15;
+        $num = 16;
+        $uni = '54141784';
         $res = StoreCart::setCart($uid, $product_id, $num, $uni, 'product', 1, 0, 0, 0, 0, $exchange_id);
         if ($res) {
             $cartId = $res->id;