package com.iotechn.unimall.admin.api.erp;
|
|
import com.dobbinsoft.fw.core.annotation.HttpMethod;
|
import com.dobbinsoft.fw.core.annotation.HttpOpenApi;
|
import com.dobbinsoft.fw.core.annotation.HttpParam;
|
import com.dobbinsoft.fw.core.annotation.HttpParamType;
|
import com.dobbinsoft.fw.core.annotation.param.NotNull;
|
import com.dobbinsoft.fw.core.exception.ServiceException;
|
|
@HttpOpenApi(group = "admin.erp", description = "进销存管理")
|
public interface AdminErpService {
|
|
@HttpMethod(description = "同步类目", permission = "")
|
public String syncCategory(
|
@NotNull @HttpParam(name = "adminId", type = HttpParamType.ADMIN_ID, description = "管理员ID") Long adminId) throws ServiceException;
|
|
@HttpMethod(description = "同步商品")
|
public String syncProduct(
|
@NotNull @HttpParam(name = "adminId", type = HttpParamType.ADMIN_ID, description = "管理员ID") Long adminId) throws ServiceException;
|
|
}
|