Kirin %!s(int64=3) %!d(string=hai) anos
pai
achega
918c0f2170
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/models/system/SystemStoreStock.php

+ 1 - 0
app/models/system/SystemStoreStock.php

@@ -101,6 +101,7 @@ class SystemStoreStock extends BaseModel
                 $data1['is_consumer'] = $data['is_consumer'];
                 $data1['store_id'] = $store_id;
                 self::create($data1);
+                return true;
             }
         }
         return self::setErrorInfo('参数异常');