package com.liquidnet.client.admin.web.controller.zhengzai;

import com.liquidnet.client.admin.common.core.controller.BaseController;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

/**
 * 用户Controller
 * 
 * @author ruoyi
 * @date 2021-05-24
 */
@Controller
@RequestMapping("local")
public class LocalAdminController extends BaseController
{
    private final String stonePrefix = "zhengzai/stone";
    private final String storePrefix = "zhengzai/store";
    private final String smilePrefix = "zhengzai/smile";
    private final String activityPrefix = "zhengzai/sweet";
    private final String candyPrefix = "zhengzai/candy";

    @Value("${liquidnet.client.admin.platformUrl}")
    private String platformUrl;

    // 小家伙路由开始
    @GetMapping("/smileList") // 用户列表
    public String smileList()
    {
        return smilePrefix + "/userList/list";
    }
    @GetMapping("/smileDetail") // 用户详情
    public String smileDetail() {  return smilePrefix + "/userList/detail"; }
    @GetMapping("/specialDetail") // 特邀用户详情
    public String specialDetail() {  return smilePrefix + "/userList/specialDetail"; }
    @GetMapping("/blackList") // 黑名单管理
    public String blackList() {  return smilePrefix + "/blackList/blackList"; }
    @GetMapping("/smilePending") // 待审核列表
    public String smilePending()
    {
        return smilePrefix + "/userPendingList/list";
    }
    @GetMapping("/smilePendingDetail") // 待审核详情
    public String smilePendingDetail() { return smilePrefix + "/userPendingList/detail"; }

    @GetMapping("/smileTicketsList") // 演出列表
    public String smileTicketsList()
    {
        return smilePrefix + "/smileTickets/list";
    }
    @GetMapping("/smileTicketsDetail") // 演出详情
    public String smileTicketsDetail() { return smilePrefix + "/smileTickets/detail"; }
    @GetMapping("/smileTicketsData") // 销售数据
    public String smileTicketsData() { return smilePrefix + "/smileTickets/data"; }

    @GetMapping("/smileOrganizationList") // 组织架构列表
    public String smileOrganizationList() { return smilePrefix + "/organization/list"; }
    @GetMapping("/smileOrganizationDetail") // 组织架构详情
    public String smileOrganizationDetail() { return smilePrefix + "/organization/detail"; }

    @GetMapping("/smileSchoolList") // 学校列表
    public String smileSchoolList() { return smilePrefix + "/school/list"; }
    @GetMapping("/smileSchoolDetail") // 学校编辑
    public String smileSchoolDetail() { return smilePrefix + "/school/detail"; }
    // 小家伙路由结束

    @GetMapping("/integralList")
    public String integralList()
    {
        return stonePrefix + "/integralList";
    }
    @GetMapping("/integralStore")
    public String integralStore()
    {
        return stonePrefix + "/integralStore";
    }
    @GetMapping("/LuckyDraw")
    public String LuckyDraw()
    {
        return stonePrefix + "/LuckyDraw";
    }
    @GetMapping("/integralOrder")
    public String integralOrder()
    {
        return stonePrefix + "/integralOrder";
    }
    @GetMapping("/integralDetail")
    public String integralDetail()
    {
        return stonePrefix + "/integralDetail";
    }
    @GetMapping("/shopList")
    public String shopList()
    {
        return storePrefix + "/shopManage/shopList";
    }
    @GetMapping("/shopDetail")
    public String shopDetail()
    {
        return storePrefix + "/shopManage/shopDetail";
    }
    @GetMapping("/storeClassify")
    public String storeClassify()
    {
        return storePrefix + "/storeClassify/index";
    }
    @GetMapping("/MusicTagStore")
    public String MusicTagStore()
    {
        return storePrefix + "/MusicTagStore/index";
    }
    @GetMapping("/tagStore")
    public String tagStore()
    {
        return storePrefix + "/tagStore/index";
    }
    @GetMapping("/activityList")
    public String activityList()
    {
        return storePrefix + "/placingOrder/activityList";
    }
    @GetMapping("/addNewActivity")
    public String addNewActivity(ModelMap mmap) {
        mmap.put("platformUrl", platformUrl);
        return storePrefix + "/placingOrder/addNewActivity";
    }
    @GetMapping("/activityStoreList")
    public String activityStoreList()
    {
        return storePrefix + "/placingOrder/activityStoreList";
    }
    @GetMapping("/storeDetail")
    public String storeDetail()
    {
        return storePrefix + "/placingOrder/storeDetail";
    }
    @GetMapping("/setGoodsRole")
    public String setGoodsRole()
    {
        return storePrefix + "/placingOrder/setGoodsRole";
    }
    @GetMapping("/selectGoddsTab")
    public String selectGoddsTab()
    {
        return storePrefix + "/placingOrder/selectGoddsTab";
    }
    @GetMapping("/homeSet")
    public String homeSet(ModelMap mmap) {
        mmap.put("platformUrl", platformUrl);
        return storePrefix + "/homeSet/index";
    }
    @GetMapping("/searchStore")
    public String searchStore()
    {
        return storePrefix + "/homeSet/searchStore";
    }
    @GetMapping("/topBanner")
    public String topBanner(ModelMap mmap) {
        mmap.put("platformUrl", platformUrl);
        return storePrefix + "/homeSet/topBanner";
    }
    @GetMapping("/kingArea")
    public String kingArea(ModelMap mmap) {
        mmap.put("platformUrl", platformUrl);
        return storePrefix + "/homeSet/kingArea";
    }
    @GetMapping("/RubikArea")
    public String RubikArea()
    {
        return storePrefix + "/homeSet/RubikArea";
    }
    @GetMapping("/carefullyGoods")
    public String carefullyGoods()
    {
        return storePrefix + "/homeSet/carefullyGoods";
    }
    @GetMapping("/goodsIntersection")
    public String goodsIntersection()
    {
        return storePrefix + "/goodsIntersection/index";
    }
    @GetMapping("/newRecommended")
    public String newRecommended()
    {
        return storePrefix + "/homeSet/newRecommended";
    }
    @GetMapping("/performanceActivity") // 活动关联券部分
    public String performanceActivity()
    {
        return activityPrefix + "/performanceActivity/activityList";
    }
    @GetMapping("/createActivityModal") // 创建活动
    public String createActivityModal()
    {
        return activityPrefix + "/performanceActivity/createActivity";
    }
    @GetMapping("/activityTicketList") // 活动关联券部分
    public String activityTicketList()
    {
        return activityPrefix + "/performanceActivity/ticketList";
    }
    @GetMapping("/relevancyShow") // 活动关联券部分
    public String relevancyShow()
    {
        return candyPrefix + "/coupon/mgt/relevancyShow";
    }
    @GetMapping("/affiliatedActivity") // 关联活动
    public String affiliatedActivity()
    {
        return activityPrefix + "/affiliatedActivity/list";
    }
    @GetMapping("/affiliatedActivityadd") // 关联活动-编辑
    public String affiliatedActivityadd()
    {
        return activityPrefix + "/affiliatedActivity/add";
    }
    @GetMapping("/affiliatedActivityEdit") // 关联活动-编辑
    public String affiliatedActivityEdit()
    {
        return activityPrefix + "/affiliatedActivity/edit";
    }

}
