Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

semour / semour_web

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Find file
Normal viewHistoryPermalink
Switch branch/tag
  • semour_web
  • app
  • Http
  • Controllers
  • BrandController.php
BrandController.php 805 Bytes
肖康's avatar
搜索品牌 商品详情页面
693a0bd6
 
肖康 committed 2 years ago
1 2 3 4
<?php

namespace App\Http\Controllers;

杨树贤's avatar
标准品牌输出
e567922c
 
杨树贤 committed 2 years ago
5
use App\Http\Services\BrandService;
肖康's avatar
搜索品牌 商品详情页面
693a0bd6
 
肖康 committed 2 years ago
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
use Illuminate\Http\Request;

class BrandController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
//        $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
    public function map()
杨树贤's avatar
地址接口列表报错问题
3dedd5ff
 
杨树贤 committed 2 years ago
26
    {
肖康's avatar
p品牌路由 新增地址
a0cb00f1
 
肖康 committed 2 years ago
27

杨树贤's avatar
分类页面模板数据
ee659885
 
杨树贤 committed 2 years ago
28 29
        $brandList = BrandService::getStandardBrandListWithLetter();

杨树贤's avatar
标准品牌输出
e567922c
 
杨树贤 committed 2 years ago
30
        return view('brand.map',compact('brandList'));
肖康's avatar
搜索品牌 商品详情页面
693a0bd6
 
肖康 committed 2 years ago
31
    }
杨树贤's avatar
地址接口列表报错问题
3dedd5ff
 
杨树贤 committed 2 years ago
32

肖康's avatar
p品牌路由 新增地址
a0cb00f1
 
肖康 committed 2 years ago
33 34

    public function info(Request $request)
肖康's avatar
搜索品牌 商品详情页面
693a0bd6
 
肖康 committed 2 years ago
35
    {
杨树贤's avatar
地址接口列表报错问题
3dedd5ff
 
杨树贤 committed 2 years ago
36
        $id = $request->route('id');
杨树贤's avatar
品牌和分类数据修复
b1a69b5b
 
杨树贤 committed 2 years ago
37 38
        $brand = BrandService::getStandardBrandInfo($id);
        return view('brand.list',compact('brand'));
肖康's avatar
搜索品牌 商品详情页面
693a0bd6
 
肖康 committed 2 years ago
39 40
    }
}