This commit is contained in:
li 2022-11-22 15:50:54 +08:00
parent 649d240561
commit 7ebc4ec589

View File

@ -1204,6 +1204,7 @@ func Sha1withRsa(signContent string) (string, error) {
func ParsePrivateKey() (*rsa.PrivateKey, error) {
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)
if err != nil {
logger.Error("read file err:", err)