小程序用户改用门店登录

This commit is contained in:
liu
2026-08-20 13:46:04 +08:00
parent 6d9f02d831
commit c1d490134e
251 changed files with 689 additions and 2727 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
namespace Tests\Feature;
use App\Models\ProductCategoryModel;
use App\Models\UserModel;
use App\Models\StoreModel;
/**
* 商品分类两级限制 + 商品只能挂末级分类:
@@ -169,7 +169,7 @@ class ProductCategoryTest extends ProcurementTestCase
'status' => ProductCategoryModel::STATUS_DISABLED,
]);
$this->actingAsMiniUser(UserModel::factory()->create());
$this->actingAsMiniStore(StoreModel::factory()->create());
$response = $this->getJson('/mini/product/categories');
$response->assertOk()->assertJsonPath('success', true);