浏览代码

一些功能

Kirin 3 年之前
父节点
当前提交
109903dd73
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/api/controller/PublicController.php

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

@@ -39,10 +39,10 @@ class PublicController
     public function test()
     public function test()
     {
     {
         $uid = 168;
         $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);
         $res = StoreCart::setCart($uid, $product_id, $num, $uni, 'product', 1, 0, 0, 0, 0, $exchange_id);
         if ($res) {
         if ($res) {
             $cartId = $res->id;
             $cartId = $res->id;