123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | Application Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register all of the routes for an application.
- | It's a breeze. Simply tell Laravel the URIs it should respond to
- | and give it the controller to call when that URI is requested.
- |
- */
- //Route::get('/', 'WelcomeController@index');
- //Route::get('home', 'HomeController@index');
- Route::controllers([
- 'auth' => 'Auth\AuthController',
- 'password' => 'Auth\PasswordController',
- ]);
- //根目录
- Route::get('/', 'Admin\LoginController@login');
- //Route::get("/hotfix/returnPath", "Admin\HotfixController@returnPath");
- //Admin
- Route::group(['prefix' => 'admin'], function(){
- //登录
- Route::get('/login', 'Admin\LoginController@login');
- Route::post('/login', 'Admin\LoginController@dologin');
- Route::get('/logout', 'Admin\LoginController@logout');
- Route::group(['middleware' => 'login'], function(){
- //首页
- Route::get('/index', 'Admin\IndexController@index');
- //管理员
- Route::get('admin', 'Admin\AdminController@index');
- Route::get('/admin/all', 'Admin\AdminController@all');
- Route::get('/admin/create', 'Admin\AdminController@create');
- Route::post('/admin/store', 'Admin\AdminController@store');
- Route::get('/admin/edit/{id}', 'Admin\AdminController@edit');
- Route::get('/admin/del/{id}', 'Admin\AdminController@del');
- Route::get('/admin/up/{id}', 'Admin\AdminController@up');
- Route::post('/admin/update', 'Admin\AdminController@update');
- //团队
- Route::get('/admin/teamindex', 'Admin\AdminController@teamindex');
- Route::get('/admin/teamcreate', 'Admin\AdminController@teamcreate');
- Route::post('/admin/teamstore', 'Admin\AdminController@teamstore');
- Route::get('/admin/teamedit/{id}', 'Admin\AdminController@teamedit');
- Route::post('/admin/teamupdate', 'Admin\AdminController@teamupdate');
- Route::get('/admin/teamSalers', 'Admin\AdminController@teamSalers');
- Route::get('/admin/qrcode_del/{id}', 'Admin\AdminController@qrcode_del');
- Route::get('/admin/qrcode_up/{id}', 'Admin\AdminController@qrcode_up');
- //销售上传二维码
- Route::get('/admin/uploadQrcodeEdit', 'Admin\AdminController@uploadQrcodeEdit');
- Route::post('/admin/uploadQrcode', 'Admin\AdminController@uploadQrcode');
- //权限
- Route::get('/permission/index', 'Admin\PermissionController@index');
- Route::get('/permission/create', 'Admin\PermissionController@create');
- Route::post('/permission/store', 'Admin\PermissionController@store');
- Route::get('/permission/edit/{id}', 'Admin\PermissionController@edit');
- Route::post('/permission/update', 'Admin\PermissionController@update');
- //角色
- Route::get('/role/index', 'Admin\RoleController@index');
- Route::get('/role/create', 'Admin\RoleController@create');
- Route::post('/role/store', 'Admin\RoleController@store');
- Route::get('/role/edit/{name}', 'Admin\RoleController@edit');
- Route::post('/role/update', 'Admin\RoleController@update');
- //订单管理
- Route::get('/order/index', 'Admin\OrderController@orderindex');
- Route::get('/order/warehouse', 'Admin\OrderController@warehouse');
- Route::get('/order/predictOrder', 'Admin\OrderController@predictOrder'); //预售订单
- Route::post('/order/importGoodsExcel', 'Admin\OrderController@importGoodsExcel'); //仓管导入订单成本,物流单号
- Route::post('/order/importDeliveryExcel', 'Admin\OrderController@importDeliveryExcel'); //仓管导入订单成本,物流单号
- Route::get('/order/warehouse_export', 'Admin\OrderController@warehouse_export'); //仓管订单导出
- Route::get('/order/order_export', 'Admin\OrderController@order_export');
- Route::get('/order/create', 'Admin\OrderController@ordercreate');
- Route::get('/order/getAddress', 'Admin\OrderController@getAddress'); //获取默认地址
- Route::post('/order/store', 'Admin\OrderController@orderstore');
- Route::get('/order/edit/{id}', 'Admin\OrderController@orderedit');
- Route::post('/order/update', 'Admin\OrderController@orderupdate');
- Route::get('/order/delete/{id}', 'Admin\OrderController@orderdelete');
- Route::get('/order/getCustomer', 'Admin\OrderController@getCustomer');
- Route::get('/order/adminList', 'Admin\OrderController@adminList');
- Route::get('/order/categoods/{category}', 'Admin\OrderController@categoods');
- Route::get('/order/teamAdmins/{team_id}', 'Admin\OrderController@teamAdmins');
- Route::get('/order/editLogisticsId', 'Admin\OrderController@editLogisticsId');
- Route::get('/order/setrefund/{id}', 'Admin\OrderController@setrefund'); //设为退货 弃用
- Route::post('/order/setrefundinfo', 'Admin\OrderController@set_refund'); //设为退货 用于c仓同步到卖家取消订单,不删除单子
- Route::get('/order/setverify/{id}', 'Admin\OrderController@setverify'); //设为已审核
- Route::get('/order/setverifymore', 'Admin\OrderController@setverifymore'); //设为已审核
- Route::get('/order/getVip', 'Admin\OrderController@getVip'); //获取会员信息
- Route::get('/order/order_goods_info', 'Admin\OrderController@order_goods_info'); //获取订单商品
- //分销订单管理
- Route::get('/fxorder/index', 'Admin\FxOrderController@orderindex');
- Route::get('/fxorder/warehouse', 'Admin\FxOrderController@warehouse');
- Route::get('/fxorder/predictOrder', 'Admin\FxOrderController@predictOrder'); //预售订单
- Route::post('/fxorder/importGoodsExcel', 'Admin\FxOrderController@importGoodsExcel'); //仓管导入订单成本,物流单号
- Route::post('/fxorder/importDeliveryExcel', 'Admin\FxOrderController@importDeliveryExcel'); //仓管导入订单成本,物流单号
- Route::get('/fxorder/warehouse_export', 'Admin\FxOrderController@warehouse_export'); //仓管订单导出
- Route::get('/fxorder/order_export', 'Admin\FxOrderController@order_export');
- Route::get('/fxorder/create', 'Admin\FxOrderController@ordercreate');
- Route::get('/fxorder/getAddress', 'Admin\FxOrderController@getAddress'); //获取默认地址
- Route::post('/fxorder/store', 'Admin\FxOrderController@orderstore');
- Route::get('/fxorder/edit/{id}', 'Admin\FxOrderController@orderedit');
- Route::post('/fxorder/update', 'Admin\FxOrderController@orderupdate');
- Route::get('/fxorder/delete/{id}', 'Admin\FxOrderController@orderdelete');
- Route::get('/fxorder/getCustomer', 'Admin\FxOrderController@getCustomer');
- Route::get('/fxorder/adminList', 'Admin\FxOrderController@adminList');
- Route::get('/fxorder/categoods/{category}', 'Admin\FxOrderController@categoods');
- Route::get('/fxorder/teamAdmins/{team_id}', 'Admin\FxOrderController@teamAdmins');
- Route::get('/fxorder/editLogisticsId', 'Admin\FxOrderController@editLogisticsId');
- Route::get('/fxorder/setrefund/{id}', 'Admin\FxOrderController@setrefund'); //设为退货 弃用
- Route::post('/fxorder/setrefundinfo', 'Admin\FxOrderController@set_refund'); //设为退货 用于c仓同步到卖家取消订单,不删除单子
- Route::get('/fxorder/setverify/{id}', 'Admin\FxOrderController@setverify'); //设为已审核
- Route::get('/fxorder/setverifymore', 'Admin\FxOrderController@setverifymore'); //设为已审核
-
- //数据上报
- Route::get('/custreport/detailindex', 'Admin\CustReportController@detailindex');
- Route::get('/custreport/detail_export', 'Admin\CustReportController@detail_export');
- Route::get('/custreport/detailcreate', 'Admin\CustReportController@detailcreate');
- Route::post('/custreport/detailstore', 'Admin\CustReportController@detailstore');
- Route::get('/custreport/detailedit/{id}', 'Admin\CustReportController@detailedit');
- Route::post('/custreport/detailupdate', 'Admin\CustReportController@detailupdate');
- Route::get('/custreport/detaildelete/{id}', 'Admin\CustReportController@detaildelete');
- Route::get('/custreport/totalindex', 'Admin\CustReportController@totalindex');
- Route::get('/custreport/total_export', 'Admin\CustReportController@total_export');
- Route::get('/custreport/totalcreate', 'Admin\CustReportController@totalcreate');
- Route::post('/custreport/totalstore', 'Admin\CustReportController@totalstore');
- Route::get('/custreport/totaledit/{id}', 'Admin\CustReportController@totaledit');
- Route::post('/custreport/totalupdate', 'Admin\CustReportController@totalupdate');
- Route::get('/custreport/totaldelete/{id}', 'Admin\CustReportController@totaldelete');
- //录入地域投入信息
- Route::post('/custreport/importDisCost', 'Admin\CustReportController@importDisCost');
- //地域投入信息表
- Route::get('/custreport/disCostList', 'Admin\CustReportController@disCostList');
- //数据报表
- //当日数据统计
- Route::get('/statistics/fanDay', 'Admin\StatisticsController@fanDay');
- Route::get('/statistics/fanDay_export', 'Admin\StatisticsController@fanDay_export');
- //分片数据统计
- Route::get('/statistics/orderDay', 'Admin\StatisticsController@orderDay');
- Route::get('/statistics/orderDay_export', 'Admin\StatisticsController@orderDay_export');
- //投放数据
- Route::get('/statistics/throwDay', 'Admin\StatisticsController@throwDay');
- Route::get('/statistics/throwDay_export', 'Admin\StatisticsController@throwDay_export');
- //销售可看当日数据
- Route::get('/statistics/fanDaySaler', 'Admin\StatisticsController@fanDaySaler');
- Route::get('/statistics/fanDaySaler_export', 'Admin\StatisticsController@fanDaySaler_export');
- //销售可看分片数据
- Route::get('/statistics/orderDaySaler', 'Admin\StatisticsController@orderDaySaler');
- Route::get('/statistics/orderDaySaler_export', 'Admin\StatisticsController@orderDaySaler_export');
- //成单率梯形
- Route::get('/statistics/orderRateList', 'Admin\StatisticsController@orderRateList');
- //实时数据展榜
- Route::get('/statistics/orderSaleRank', 'Admin\StatisticsController@orderSaleRank');
- //实时订单地域分布
- Route::get('/statistics/orderDistrict', 'Admin\StatisticsController@orderDistrict');
- //地域roi
- Route::get('/statistics/districtRoi', 'Admin\StatisticsController@districtRoi');
- //地域roi导出
- Route::get('/statistics/districtRoi_export', 'Admin\StatisticsController@districtRoi_export');
- //地域roi7日
- Route::get('/statistics/districtRoi7day', 'Admin\StatisticsController@districtRoi7day');
- Route::get('/statistics/districtRoi7day_export', 'Admin\StatisticsController@districtRoi7day_export');
- Route::get('/statistics/districtRoi7dayTotal', 'Admin\StatisticsController@districtRoi7dayTotal');
- Route::get('/statistics/districtRoi7dayTotal_export', 'Admin\StatisticsController@districtRoi7dayTotal_export');
- //地域roi30日
- Route::get('/statistics/districtRoi30day', 'Admin\StatisticsController@districtRoi30day');
- Route::get('/statistics/districtRoi30day_export', 'Admin\StatisticsController@districtRoi30day_export');
- Route::get('/statistics/districtRoi30dayTotal', 'Admin\StatisticsController@districtRoi30dayTotal');
- Route::get('/statistics/districtRoi30dayTotal_export', 'Admin\StatisticsController@districtRoi30dayTotal_export');
- //地域roi15日
- Route::get('/statistics/districtRoi15day', 'Admin\StatisticsController@districtRoi15day');
- Route::get('/statistics/districtRoi15day_export', 'Admin\StatisticsController@districtRoi15day_export');
- Route::get('/statistics/districtRoi15dayTotal', 'Admin\StatisticsController@districtRoi15dayTotal');
- Route::get('/statistics/districtRoi15dayTotal_export', 'Admin\StatisticsController@districtRoi15dayTotal_export');
- //地域roi45日
- Route::get('/statistics/districtRoi45day', 'Admin\StatisticsController@districtRoi45day');
- Route::get('/statistics/districtRoi45day_export', 'Admin\StatisticsController@districtRoi45day_export');
- Route::get('/statistics/districtRoi45dayTotal', 'Admin\StatisticsController@districtRoi45dayTotal');
- Route::get('/statistics/districtRoi45dayTotal_export', 'Admin\StatisticsController@districtRoi45dayTotal_export');
- //地域roi所有汇总
- Route::get('/statistics/districtRoiAllTotal', 'Admin\StatisticsController@districtRoiAllTotal');
- Route::get('/statistics/districtRoiAllTotal_export', 'Admin\StatisticsController@districtRoiAllTotal_export');
- //团队财务报表
- Route::get('/statistics/teamFinanceList', 'Admin\StatisticsController@teamFinanceList');
- Route::get('/statistics/teamFinanceList_export', 'Admin\StatisticsController@teamFinanceList_export');
- Route::get('/statistics/teamFinanceTotal', 'Admin\StatisticsController@teamFinanceTotal');
- Route::get('/statistics/teamFinanceTotal_export', 'Admin\StatisticsController@teamFinanceTotal_export');
- Route::get('/statistics/aftersaleFinanceList', 'Admin\StatisticsController@aftersaleFinanceList');
- Route::get('/statistics/refundFinanceList', 'Admin\StatisticsController@refundFinanceList');
- Route::get('/statistics/sendFinanceList', 'Admin\StatisticsController@sendFinanceList');
- Route::get('/fxstatistics/sendFinanceList', 'Admin\FxStatisticsController@sendFinanceList');
- Route::get('fxstatistics/sendFinanceList_export', 'Admin\FxStatisticsController@sendFinanceList_export');
- Route::get('/statistics/aftersaleFinanceList_export', 'Admin\StatisticsController@aftersaleFinanceList_export');
- Route::get('/statistics/refundFinanceList_export', 'Admin\StatisticsController@refundFinanceList_export');
- Route::get('/statistics/sendFinanceList_export', 'Admin\StatisticsController@sendFinanceList_export');
- #仓库发货财务报表
- Route::get('/statistics/warehouseFinanceList', 'Admin\StatisticsController@warehouseFinanceList');
- Route::get('/statistics/warehouseFinanceList_export', 'Admin\StatisticsController@warehouseFinanceList_export');
- //销售业绩表
- Route::get('/statistics/salerBonus', 'Admin\StatisticsController@salerBonus');
- Route::get('/statistics/salerBonus_export', 'Admin\StatisticsController@salerBonus_export');
- //销售月业绩完成度
- Route::get('/statistics/salerTargetProgress', 'Admin\StatisticsController@salerTargetProgress');
- Route::get('/statistics/salerTargetProgress_export', 'Admin\StatisticsController@salerTargetProgress_export');
- Route::get('statistics/salerTargetCreate', 'Admin\StatisticsController@salerTargetCreate');
- Route::post('statistics/salerTargetStore', 'Admin\StatisticsController@salerTargetStore');
- Route::get('statistics/salerTargetEdit/{id}', 'Admin\StatisticsController@salerTargetEdit');
- Route::post('statistics/salerTargetUpdate', 'Admin\StatisticsController@salerTargetUpdate');
- //商品管理
- Route::get('goods/index', 'Admin\GoodsController@index');
- Route::get('goods/create', 'Admin\GoodsController@create');
- Route::post('goods/store', 'Admin\GoodsController@store');
- Route::get('goods/edit/{id}', 'Admin\GoodsController@edit');
- Route::post('goods/update', 'Admin\GoodsController@update');
- Route::get('goods/down/{id}', 'Admin\GoodsController@down'); //下架
- Route::get('goods/delete/{id}', 'Admin\GoodsController@delete'); //删除
- Route::get('goods/up/{id}', 'Admin\GoodsController@up');
- Route::get('goods/searchSkus', 'Admin\GoodsController@searchSkus');
- Route::get('goods/skulist', 'Admin\GoodsController@skuList');
- Route::get('goods/skucreate', 'Admin\GoodsController@skuCreate');
- Route::post('goods/skustore', 'Admin\GoodsController@skuStore');
- Route::get('goods/skuedit/{id}', 'Admin\GoodsController@skuEdit');
- Route::post('goods/skuupdate', 'Admin\GoodsController@skuUpdate');
- Route::get('goods/skudelete/{id}', 'Admin\GoodsController@skuDel'); //下架
- Route::get('goods/skudelete2/{id}', 'Admin\GoodsController@skuDelete'); //删除规格
- Route::get('goods/skuup/{id}', 'Admin\GoodsController@skuUp');
- Route::get('template/index', 'Admin\TemplateController@index');
- Route::get('template/create', 'Admin\TemplateController@create');
- Route::post('template/store', 'Admin\TemplateController@store');
- Route::get('template/edit/{id}', 'Admin\TemplateController@edit');
- Route::post('template/update', 'Admin\TemplateController@update');
- Route::get('template/delete/{id}', 'Admin\TemplateController@del');
- Route::get('template/getAssigns', 'Admin\TemplateController@getAssigns');
- Route::post('template/assignSalers', 'Admin\TemplateController@assignSalers');
- Route::get('template/logindex', 'Admin\TemplateController@logindex');
- //销售模板引流每日报表
- Route::get('template/templateLogReport', 'Admin\TemplateController@templateLogReport');
- Route::get('template/templateLogReport_export', 'Admin\TemplateController@templateLogReport_export');
- //销售复购率
- Route::get('statistics/salerOrderFugou', 'Admin\StatisticsController@salerOrderFugou');
- Route::get('statistics/salerOrderFugou_export', 'Admin\StatisticsController@salerOrderFugou_export');
- Route::get('template/sourceindex', 'Admin\TemplateController@sourceindex');
- Route::get('template/sourcecreate', 'Admin\TemplateController@sourcecreate');
- Route::post('template/sourcestore', 'Admin\TemplateController@sourcestore');
- Route::get('template/sourceedit/{id}', 'Admin\TemplateController@sourceedit');
- Route::post('template/sourceupdate', 'Admin\TemplateController@sourceupdate');
- Route::get('template/sourcedelete/{id}', 'Admin\TemplateController@sourcedel');
- Route::post('template/uploadBack/', 'Admin\TemplateController@uploadBack');
- Route::get('template/getTempback/{id}', 'Admin\TemplateController@getTempback');
- //每日汇总数据
- Route::get('statistics/dayGrandTotal', 'Admin\StatisticsController@dayGrandTotal');
- Route::get('statistics/dayGrandTotal_export', 'Admin\StatisticsController@dayGrandTotal_export');
- //按月统计销售加粉下单情况
- Route::get('template/templateLogMonthReport', 'Admin\TemplateController@templateLogMonthReport');
- Route::get('template/templateLogMonthReport_export', 'Admin\TemplateController@templateLogMonthReport_export');
- //新粉月销售额梯形图
- Route::get('/statistics/newFanMonthAmountList', 'Admin\StatisticsController@newFanMonthAmountList');
-
- Route::get('statistics/volumeRank', 'Admin\StatisticsController@volumeRank');
- Route::get('statistics/volumeRank_export', 'Admin\StatisticsController@volumeRank_export');
- //团队roi汇总
- Route::get('statistics/dayGrandTeamTotal', 'Admin\StatisticsController@dayGrandTeamTotal');
- Route::get('statistics/dayGrandTeamTotal_export', 'Admin\StatisticsController@dayGrandTeamTotal_export');
- Route::get('statistics/dayGrandSalerTotal', 'Admin\StatisticsController@dayGrandSalerTotal');
- Route::get('statistics/dayGrandSalerTotal_export', 'Admin\StatisticsController@dayGrandSalerTotal_export');
- Route::get('statistics/depositDayReport', 'Admin\StatisticsController@depositDayReport');
- Route::get('statistics/depositDayReport_export', 'Admin\StatisticsController@depositDayReport_export');
- Route::get('statistics/depositDetail', 'Admin\StatisticsController@depositDetail');
- Route::get('statistics/depositDetail_export', 'Admin\StatisticsController@depositDetail_export');
-
- Route::get('statistics/consumDetail', 'Admin\StatisticsController@consumDetail');
- Route::get('statistics/consumDetail_export', 'Admin\StatisticsController@consumDetail_export');
-
- Route::get('statistics/customerMonthAccount', 'Admin\StatisticsController@customerMonthAccount');
- Route::get('statistics/customerMonthAccount_export', 'Admin\StatisticsController@customerMonthAccount_export');
- //充值
- Route::get('deposit/index', 'Admin\CustomerDepositController@index'); //充值记录
- Route::get('deposit/consumList', 'Admin\CustomerDepositController@consumList'); //消费记录
- Route::get('deposit/customerList', 'Admin\CustomerDepositController@customerList');
- Route::get('deposit/create', 'Admin\CustomerDepositController@create');
- Route::post('deposit/store', 'Admin\CustomerDepositController@store');
- Route::get('deposit/edit', 'Admin\CustomerDepositController@edit');
- Route::post('deposit/update', 'Admin\CustomerDepositController@update');
- Route::get('deposit/del/{id}', 'Admin\CustomerDepositController@delete');
- //获取余额
- Route::get('cust/getBalance/{phone}', 'Admin\CustomerDepositController@getBalance');
- //编辑充值方式
- Route::get('deposit/editPayType', 'Admin\CustomerDepositController@editPayType');
- //用户盈利模型
- Route::get('statistics/customerOrder','Admin\StatisticsController@customerOrder');
- //会员录入管理
- Route::get('customer/vipList','Admin\CustomerDepositController@vipCustomerList');
- Route::get('customer/vipCreate','Admin\CustomerDepositController@addVipCustomer');
- Route::get('customer/vipUpdate','Admin\CustomerDepositController@editVipCustomer');
- Route::post('customer/addVip','Admin\CustomerDepositController@storeVipCustomer');
- Route::post('customer/editVip','Admin\CustomerDepositController@updateVipCustomer');
- Route::get('customer/vipUp','Admin\CustomerDepositController@vipUp');
- Route::get('customer/vipDel','Admin\CustomerDepositController@vipDel');
- Route::get('customer/vipExport', 'Admin\CustomerDepositController@vipExport');
- //会员每月礼品领取记录
- Route::get('customer/monthGiftLog','Admin\CustomerDepositController@monthGiftLog');
- //会员优惠券领取记录
- Route::get('customer/couponLog','Admin\CustomerDepositController@couponLog');
- //会员生日套餐领取记录
- Route::get('customer/birthdayGiftLog','Admin\CustomerDepositController@birthdayGiftLog');
- //会员礼品管理
- Route::get('customer/giftList','Admin\CustomerDepositController@monthGiftList');
- Route::get('customer/giftAdd','Admin\CustomerDepositController@addMonthGift');
- Route::get('customer/giftEdit','Admin\CustomerDepositController@editMonthGift');
- Route::post('customer/giftStore','Admin\CustomerDepositController@monthGiftStore');
- Route::post('customer/giftUpdate','Admin\CustomerDepositController@monthGiftUpdate');
- //会员报表
- Route::get('customer/vipReport', 'Admin\CustomerDepositController@membershipReport');
- Route::get('customer/vipReportExport', 'Admin\CustomerDepositController@membershipReportExport');
- Route::get('goods/index_copy','Admin\GoodsController@indexCopy');
- Route::get('goods/index_copy_export','Admin\GoodsController@indexCopyExport');
- Route::get('goods/editGoodsSku','Admin\GoodsController@editGoodsSku');
- Route::get('goods/goodsindex','Admin\GoodsController@goodsIndex');
- Route::get('goods/goodsindexexport','Admin\GoodsController@goodsIndexExport');
- Route::get('customerServiceAfterSale/index','Admin\OrderController@customerServiceAfterSaleList');
- Route::get('customerServiceAfterSale/create','Admin\OrderController@customerServiceAfterSaleCreate');
- Route::post('customerServiceAfterSale/store','Admin\OrderController@customerServiceAfterSaleStore');
- Route::get('customerServiceAfterSale/edit','Admin\OrderController@customerServiceAfterSaleEdit');
- Route::post('customerServiceAfterSale/update','Admin\OrderController@customerServiceAfterSaleUpdate');
- Route::get('customerServiceAfterSale/order_goods_info','Admin\OrderController@orderGoodsInfo');
- });
-
- });
- //api
- Route::group(['prefix' => 'api'], function() {
- //模板
- Route::get('/template/qrcode', 'Api\TemplateController@salerQrcode');
- Route::get('/template/addLongLog', 'Api\TemplateController@addLongLog');
- Route::get('/dayGrandTotal', 'Api\TemplateController@dayGrandTotal');
- //文章模板自定义
- Route::post('/template/createArticleHtml', 'Api\TemplateController@createArticleHtml');
- Route::post('/template/updateArticleHtml', 'Api\TemplateController@updateArticleHtml');
- Route::get('/template/getArticleHtml', 'Api\TemplateController@getArticleHtml');
- Route::post('/template/uploadHtmlPic', 'Api\TemplateController@uploadHtmlPic');
- #h5登录
- Route::post('/login','Api\LoginController@doLogin');
- #添加商品-商品列表
- Route::get('/goodsList','Api\GoodsController@index');
- #添加商品-商品搜索
- Route::post('/searchGoods','Api\GoodsController@searchGoods');
- Route::get('/order/orderList', 'Api\OrderController@orderList');
- Route::get('/order/orderDetail', 'Api\OrderController@orderDetail');
- Route::post('/order/orderstore', 'Api\OrderController@orderstore');
- Route::post('/order/orderupdate', 'Api\OrderController@orderupdate');
- Route::get('/order/getAddress', 'Api\OrderController@getAddress');
- Route::get('/order/getBalance', 'Api\OrderController@getBalance');
- Route::post('/order/setverify', 'Api\OrderController@setverify');
- Route::get('/customer/addressList','Api\CustomerController@getAddressList');
- Route::get('/customer/vipInformation','Api\CustomerController@getVipInformation');
- Route::get('/customer/couponList','Api\CustomerController@getCouponsList');
- Route::get('/customer/giftList','Api\CustomerController@getMonthGiftList');
- });
|