From a154cac39ac5a5be1af3e96efe4194d93b4f5149 Mon Sep 17 00:00:00 2001 From: "ZLW-PC\\Administrator" <374861669@qq.com> Date: Wed, 25 Oct 2017 17:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/weixin/goods/goodsDetail.blade.php | 50 +++++++++++++++++-- routes/web.php | 3 +- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/resources/views/weixin/goods/goodsDetail.blade.php b/resources/views/weixin/goods/goodsDetail.blade.php index 943acb0..a79eba0 100644 --- a/resources/views/weixin/goods/goodsDetail.blade.php +++ b/resources/views/weixin/goods/goodsDetail.blade.php @@ -99,7 +99,7 @@ var swiper = new Swiper('.swiper-container', {
- +
@@ -126,7 +126,7 @@ var swiper = new Swiper('.swiper-container', {
@@ -136,16 +136,17 @@ var swiper = new Swiper('.swiper-container', { diff --git a/routes/web.php b/routes/web.php index cf9aa5c..45bb6eb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -92,6 +92,8 @@ Route::group(['prefix' => 'weixin', 'namespace' => 'Weixin', 'middleware' => ['w Route::get('/collect_goods', 'CollectGoodsController@index')->name('weixin_user_collect_goods'); //购物车 Route::get('/cart', 'CartController@index')->name('weixin_cart'); + //订单 + Route::get('/order_pay/{id}', 'OrderController@orderPay')->name('weixin_order_pay'); //订单支付 //收货地址 Route::get('/user_address', 'AddressController@index')->name('weixin_user_address_list'); Route::get('/user_address_add', 'AddressController@userAddressAdd')->name('weixin_user_address_add'); @@ -159,7 +161,6 @@ Route::group(['prefix' => 'dataapi', 'namespace' => 'Api', 'middleware' => ['web Route::get('/cart_list', 'CartController@cartList'); //购物车列表 Route::post('/cart_clear', 'CartController@cartClear'); //清空购物车 Route::post('/cart_add', 'CartController@cartAdd'); //添加购物车 - Route::post('/cart_update', 'CartController@cartUpdate'); //修改购物车 Route::post('/cart_delete', 'CartController@cartDelete'); //删除购物 //分销