新增搜索商品库存字段返回
This commit is contained in:
+4
-6
@@ -310,17 +310,15 @@ Router::addGroup('/patient', function () {
|
||||
Router::addGroup('/product', function () {
|
||||
// 购物车
|
||||
Router::addGroup('/shopping', function () {
|
||||
// 获取购物车
|
||||
Router::get('/cart', [UserPatientController::class, 'addShoppingCart']);
|
||||
// 获取购物车药品数据
|
||||
Router::get('/cart', [UserPatientController::class, 'getShoppingCart']);
|
||||
|
||||
// 添加购物车
|
||||
// 添加购物车药品数据
|
||||
Router::post('/cart', [UserPatientController::class, 'addShoppingCart']);
|
||||
|
||||
// 修改购物车
|
||||
// 修改购物车药品数据
|
||||
Router::put('/cart', [UserPatientController::class, 'putShoppingCart']);
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
// 订单
|
||||
|
||||
Reference in New Issue
Block a user