38 lines
766 B
Java
38 lines
766 B
Java
package com.sf.payment.config;
|
||
|
||
import lombok.Data;
|
||
import org.springframework.beans.factory.annotation.Value;
|
||
import org.springframework.context.annotation.Configuration;
|
||
|
||
|
||
/**
|
||
* 功能描述:
|
||
*
|
||
* @author a_kun
|
||
* @date 2024/4/17 9:23
|
||
*/
|
||
@Data
|
||
@Configuration
|
||
public class HuaweiPaymentConfig {
|
||
|
||
/**
|
||
* 客户端id:(oauth用)
|
||
*/
|
||
@Value("${huawei.payment.clientId:110693217}")
|
||
private String clientId;
|
||
|
||
/**
|
||
* 客户端Secret:对应各平台的appSecret
|
||
*/
|
||
@Value("${huawei.payment.clientSecret:1410c01bc71c7ba587175ae79e500137c70945acc1416a38127cf98a09a6f8ba}")
|
||
private String clientSecret;
|
||
|
||
/**
|
||
* 应用id
|
||
*/
|
||
@Value("${huawei.payment.appId:5765880207854169373}")
|
||
private String appId;
|
||
|
||
|
||
}
|