wechat payment is ready for PC

This commit is contained in:
RockYang
2024-06-12 14:20:37 +08:00
parent ccad7e7bb5
commit 857da34b9c
20 changed files with 350 additions and 89 deletions

View File

@@ -2,11 +2,8 @@ package main
import (
"fmt"
"net/url"
)
func main() {
text := "https://nk.img.r9it.com/chatgpt-plus/1712709360012445.png"
parse, _ := url.Parse(text)
fmt.Println(fmt.Sprintf("%s://%s", parse.Scheme, parse.Host))
fmt.Println(fmt.Sprintf("%v", float64(90)/100))
}