mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.panzhihua.common.interfaces;
 
import java.lang.annotation.*;
 
/**
 * 商城后台操作日志注解
 * 
 * @author wu
 */
@Target(ElementType.METHOD) // 注解放置的目标位置,METHOD是可注解在方法级别上
@Retention(RetentionPolicy.RUNTIME) // 注解在哪个阶段执行
@Documented
public @interface ShopOperLog {
    String operModul() default "shop";
 
    /**
     * 操作类型 1.登录 2.修改密码 3.添加商品 4.编辑商品 5.下架商品 6.上架商品 7.删除商品 8.取消订单 9.发货 10.配送 11.查看订单详情 12.导出订单 13.导出资金流水
     * 
     * @return
     */
    int operType() default 0;
}