zjh
2025-02-28 1e91dc33009cfdc951b2642877f40280b51c3089
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.ltkj.web.controller.app;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 小程序预约下单Controller
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-05-18
 *  绑定当前登录的用户
 *  不同于@ModelAttribute
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface CurrentMember {
 
    /**
     * 当前用户在request中的名字
     */
    String value() default "user";
 
}