32 lines
659 B
Java
32 lines
659 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:对应各平台的appKey
|
|||
|
*/
|
|||
|
@Value("${huawei.payment.clientId:110693217}")
|
|||
|
private String clientId;
|
|||
|
|
|||
|
/**
|
|||
|
* 客户端Secret:对应各平台的appSecret
|
|||
|
*/
|
|||
|
@Value("${huawei.payment.clientSecret:1410c01bc71c7ba587175ae79e500137c70945acc1416a38127cf98a09a6f8ba}")
|
|||
|
private String clientSecret;
|
|||
|
|
|||
|
|
|||
|
}
|