fix:
This commit is contained in:
parent
649d240561
commit
7ebc4ec589
|
@ -1204,6 +1204,7 @@ func Sha1withRsa(signContent string) (string, error) {
|
||||||
|
|
||||||
func ParsePrivateKey() (*rsa.PrivateKey, error) {
|
func ParsePrivateKey() (*rsa.PrivateKey, error) {
|
||||||
fp := "/Users/li/mh/mh_server/pack/configs/hm_pay/private_key.pem"
|
fp := "/Users/li/mh/mh_server/pack/configs/hm_pay/private_key.pem"
|
||||||
|
//fp := "./configs/hm_pay/private_key.pem"
|
||||||
privateKey, err := ioutil.ReadFile(fp)
|
privateKey, err := ioutil.ReadFile(fp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error("read file err:", err)
|
logger.Error("read file err:", err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user