合并微信小程序和支付宝小程序登录入口

This commit is contained in:
谭凯凯
2024-09-24 09:53:47 +08:00
committed by Tankaikai
parent 3ee4ea9870
commit d9a5d041ae
2 changed files with 127 additions and 0 deletions

View File

@@ -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;
}
}