Kirin 2 년 전
부모
커밋
918c0f2170
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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('参数异常');