合并微信小程序和支付宝小程序登录入口
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package com.chaozhanggui.system.cashierservice.auth;
|
||||
|
||||
/**
|
||||
* 三方登录认证来源
|
||||
* @author tankaikai
|
||||
* @since 2024-09-23 17:51
|
||||
*/
|
||||
public enum AuthSource {
|
||||
WECHAT("微信", "wechat"),
|
||||
ALIPAY("支付宝", "alipay");
|
||||
|
||||
private String name;
|
||||
private String value;
|
||||
|
||||
AuthSource(String name, String value) {
|
||||
this.name = name;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user