2024-04-17 11:29:35 +08:00
|
|
|
|
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 {
|
|
|
|
|
|
|
|
|
|
/**
|
2024-04-18 15:52:07 +08:00
|
|
|
|
* 客户端id:(oauth用)
|
2024-04-17 11:29:35 +08:00
|
|
|
|
*/
|
|
|
|
|
@Value("${huawei.payment.clientId:110693217}")
|
|
|
|
|
private String clientId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客户端Secret:对应各平台的appSecret
|
|
|
|
|
*/
|
|
|
|
|
@Value("${huawei.payment.clientSecret:1410c01bc71c7ba587175ae79e500137c70945acc1416a38127cf98a09a6f8ba}")
|
|
|
|
|
private String clientSecret;
|
|
|
|
|
|
2024-04-18 15:52:07 +08:00
|
|
|
|
/**
|
|
|
|
|
* 应用id
|
|
|
|
|
*/
|
|
|
|
|
@Value("${huawei.payment.appId:5765880207854169373}")
|
|
|
|
|
private String appId;
|
|
|
|
|
|
2024-04-17 11:29:35 +08:00
|
|
|
|
|
|
|
|
|
}
|