2020-11-13

这是一个关于Java后台管理接口的博客,主要介绍了`AdminSearchService`接口,包含初始化、重建数据和重新加载搜索引擎属性三个核心方法。这些方法用于管理员对搜索服务的操作,确保系统的正常运行和数据更新。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

package com.iotechn.unimall.admin.api.search;

import com.iotechn.unimall.core.annotation.HttpMethod;
import com.iotechn.unimall.core.annotation.HttpOpenApi;
import com.iotechn.unimall.core.annotation.HttpParam;
import com.iotechn.unimall.core.annotation.HttpParamType;
import com.iotechn.unimall.core.annotation.param.NotNull;
import com.iotechn.unimall.core.exception.ServiceException;

/**

  • Description:

  • User: rize

  • Date: 2020/11/13

  • Time: 11:22
    */
    @HttpOpenApi(group = “admin.search”, description = “管理员搜索服务”)
    public interface AdminSearchService {

    @HttpMethod(description = “初始化”)
    public String init(
    @NotNull @HttpParam(name = “adminId”, type = HttpParamType.ADMIN_ID, description = “管理员Id”) Long adminId) throws ServiceException;

    @HttpMethod(description = “重建数据”)
    public String rebuild(
    @NotNull @HttpParam(name = “adminId”, type = HttpParamType.ADMIN_ID, description = “管理员Id”) Long adminId) throws ServiceException;

    @HttpMethod(description = “重新加载搜索引擎属性”)
    public String reloadProperties(
    @NotNull @HttpParam(name = “adminId”, type = HttpParamType.ADMIN_ID, description = “管理员Id”) Long adminId) throws ServiceException;
    }

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值