This commit is contained in:
parent
242d682999
commit
8adacede8c
49
internal/logic/dci_pay.go
Normal file
49
internal/logic/dci_pay.go
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
package logic
|
||||||
|
|
||||||
|
import (
|
||||||
|
"chain-dci/internal/model"
|
||||||
|
errCommon "chain-dci/pkg/err"
|
||||||
|
"encoding/json"
|
||||||
|
"github.com/gocolly/colly/v2"
|
||||||
|
"net/url"
|
||||||
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
func getPayUrlAmount(payUrl string) (amount string) {
|
||||||
|
|
||||||
|
u, err := url.ParseQuery(payUrl)
|
||||||
|
if err != nil {
|
||||||
|
errCommon.NoReturnInfo(err, "从url中获取数登支付金额 失败: ")
|
||||||
|
}
|
||||||
|
|
||||||
|
bizContent := u.Get("biz_content")
|
||||||
|
if bizContent != "" {
|
||||||
|
//fmt.Println("======================================== url 获取 ======================")
|
||||||
|
//fmt.Printf("bizContent: %+v\n", bizContent)
|
||||||
|
content := new(model.BizContent)
|
||||||
|
|
||||||
|
err = json.Unmarshal([]byte(bizContent), content)
|
||||||
|
if err != nil {
|
||||||
|
errCommon.NoReturnInfo(err, "从url中获取数登支付金额 json 解析失败: ")
|
||||||
|
}
|
||||||
|
|
||||||
|
amount = strconv.FormatFloat(content.TotalAmount, 'f', -1, 64)
|
||||||
|
}
|
||||||
|
|
||||||
|
if amount == "" {
|
||||||
|
//fmt.Println("======================================== 页面 获取 ======================")
|
||||||
|
c := colly.NewCollector()
|
||||||
|
|
||||||
|
c.OnHTML(".ft-center.qrcode-header-money", func(e *colly.HTMLElement) {
|
||||||
|
amount = strings.TrimSpace(e.Text)
|
||||||
|
})
|
||||||
|
|
||||||
|
err = c.Visit(payUrl)
|
||||||
|
if err != nil {
|
||||||
|
errCommon.NoReturnInfo(err, "从支付页面中获取数登支付金额 失败: ")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return
|
||||||
|
}
|
@ -7,9 +7,7 @@ import (
|
|||||||
"chain-dci/pkg/msg"
|
"chain-dci/pkg/msg"
|
||||||
"fmt"
|
"fmt"
|
||||||
bccrClient "github.com/antchain-openapi-sdk-go/bccr/client"
|
bccrClient "github.com/antchain-openapi-sdk-go/bccr/client"
|
||||||
"github.com/gocolly/colly/v2"
|
|
||||||
"github.com/jinzhu/copier"
|
"github.com/jinzhu/copier"
|
||||||
"strings"
|
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -101,23 +99,11 @@ func (r *DciRegistration) GetDciPayUrl(req *dci.GetDciPayUrlRequest) (res *dci.G
|
|||||||
|
|
||||||
_ = copier.CopyWithOption(&res, getDciPayUrlResponse, copier.Option{DeepCopy: false})
|
_ = copier.CopyWithOption(&res, getDciPayUrlResponse, copier.Option{DeepCopy: false})
|
||||||
|
|
||||||
c := colly.NewCollector()
|
// 获取支付金额
|
||||||
|
if res.PayUrl != "" {
|
||||||
var amount string
|
res.Amount = getPayUrlAmount(res.PayUrl)
|
||||||
|
|
||||||
c.OnHTML(".ft-center.qrcode-header-money", func(e *colly.HTMLElement) {
|
|
||||||
amount = strings.TrimSpace(e.Text)
|
|
||||||
})
|
|
||||||
|
|
||||||
err = c.Visit(res.PayUrl)
|
|
||||||
if err != nil {
|
|
||||||
errCommon.NoReturnInfo(getDciPayUrlResponse, "数登支付金额获取 失败: ")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
res.Amount = amount
|
|
||||||
|
|
||||||
fmt.Printf("res : %+v\n", res)
|
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
9
internal/model/biz_content.go
Normal file
9
internal/model/biz_content.go
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
package model
|
||||||
|
|
||||||
|
type BizContent struct {
|
||||||
|
OutTradeNo string `json:"out_trade_no"`
|
||||||
|
ProductCode string `json:"product_code"`
|
||||||
|
TotalAmount float64 `json:"total_amount"`
|
||||||
|
Subject string `json:"subject"`
|
||||||
|
TimeExpire string `json:"time_expire"`
|
||||||
|
}
|
@ -176,3 +176,17 @@
|
|||||||
{"level":"INFO","time":"2024-02-06T16:44:07.954+0800","caller":"err/common.go:32","msg":"查询数登申请 成功: ","":"{\n \"req_msg_id\": \"e3ff7d54c4cb11eeaaea88aedd1bc40b\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"digital_register_id\": \"DRSANDBOX8240201000000326618\",\n \"dci_content_id\": \"DCSANDBOX8240205000001143374\",\n \"digital_register_status\": \"REVIEW\",\n \"digital_register_apply_time\": \"2024-02-05T16:43:17+08:00\",\n \"download_times_left\": 0,\n \"apply_form_url\": \"https://test-copyright.oss-cn-shanghai.aliyuncs.com/theFormalCopyrightFiles/2024/02/05/16/48/SIGNATURE_DCI_DIGITAL_REGISTER8240205000001143374.pdf?Expires=1708505047\\u0026OSSAccessKeyId=LTAI4FkSRdgQigYVfqQyNm7H\\u0026Signature=FOpGKQKXEm6%2FWPar6d4nwsLKFVE%3D\",\n \"flow_number\": \"2024S11MY000ML6111279585\"\n}"}
|
{"level":"INFO","time":"2024-02-06T16:44:07.954+0800","caller":"err/common.go:32","msg":"查询数登申请 成功: ","":"{\n \"req_msg_id\": \"e3ff7d54c4cb11eeaaea88aedd1bc40b\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"digital_register_id\": \"DRSANDBOX8240201000000326618\",\n \"dci_content_id\": \"DCSANDBOX8240205000001143374\",\n \"digital_register_status\": \"REVIEW\",\n \"digital_register_apply_time\": \"2024-02-05T16:43:17+08:00\",\n \"download_times_left\": 0,\n \"apply_form_url\": \"https://test-copyright.oss-cn-shanghai.aliyuncs.com/theFormalCopyrightFiles/2024/02/05/16/48/SIGNATURE_DCI_DIGITAL_REGISTER8240205000001143374.pdf?Expires=1708505047\\u0026OSSAccessKeyId=LTAI4FkSRdgQigYVfqQyNm7H\\u0026Signature=FOpGKQKXEm6%2FWPar6d4nwsLKFVE%3D\",\n \"flow_number\": \"2024S11MY000ML6111279585\"\n}"}
|
||||||
{"level":"INFO","time":"2024-02-07T09:18:05.475+0800","caller":"err/common.go:32","msg":"查询数登申请 参数信息: ","":"dciContentId:\"DCSANDBOX8240205000001143374\""}
|
{"level":"INFO","time":"2024-02-07T09:18:05.475+0800","caller":"err/common.go:32","msg":"查询数登申请 参数信息: ","":"dciContentId:\"DCSANDBOX8240205000001143374\""}
|
||||||
{"level":"INFO","time":"2024-02-07T09:18:05.935+0800","caller":"err/common.go:32","msg":"查询数登申请 成功: ","":"{\n \"req_msg_id\": \"bed82b64c55611eeaaea88aedd1bc40b\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"digital_register_id\": \"DRSANDBOX8240201000000326618\",\n \"dci_content_id\": \"DCSANDBOX8240205000001143374\",\n \"digital_register_status\": \"TOBE_AMEND\",\n \"digital_register_apply_time\": \"2024-02-05T16:43:17+08:00\",\n \"download_times_left\": 0,\n \"fail_detail\": \"创作说明:测试2;\",\n \"amend_type\": \"NO_NEED_REPLACE_DCI\",\n \"apply_form_url\": \"https://test-copyright.oss-cn-shanghai.aliyuncs.com/theFormalCopyrightFiles/2024/02/05/16/48/SIGNATURE_DCI_DIGITAL_REGISTER8240205000001143374.pdf?Expires=1708564685\\u0026OSSAccessKeyId=LTAI4FkSRdgQigYVfqQyNm7H\\u0026Signature=7Q%2BYlN5SpkZDdZrqp1hHDYWuiWQ%3D\",\n \"flow_number\": \"2024S11MY000ML6111279585\"\n}"}
|
{"level":"INFO","time":"2024-02-07T09:18:05.935+0800","caller":"err/common.go:32","msg":"查询数登申请 成功: ","":"{\n \"req_msg_id\": \"bed82b64c55611eeaaea88aedd1bc40b\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"digital_register_id\": \"DRSANDBOX8240201000000326618\",\n \"dci_content_id\": \"DCSANDBOX8240205000001143374\",\n \"digital_register_status\": \"TOBE_AMEND\",\n \"digital_register_apply_time\": \"2024-02-05T16:43:17+08:00\",\n \"download_times_left\": 0,\n \"fail_detail\": \"创作说明:测试2;\",\n \"amend_type\": \"NO_NEED_REPLACE_DCI\",\n \"apply_form_url\": \"https://test-copyright.oss-cn-shanghai.aliyuncs.com/theFormalCopyrightFiles/2024/02/05/16/48/SIGNATURE_DCI_DIGITAL_REGISTER8240205000001143374.pdf?Expires=1708564685\\u0026OSSAccessKeyId=LTAI4FkSRdgQigYVfqQyNm7H\\u0026Signature=7Q%2BYlN5SpkZDdZrqp1hHDYWuiWQ%3D\",\n \"flow_number\": \"2024S11MY000ML6111279585\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:51:40.375+0800","caller":"err/common.go:32","msg":"数登支付链接获取 参数信息: ","":"digitalRegisterId:\"DRSANDBOX8240402000000369675\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:51:40.988+0800","caller":"err/common.go:32","msg":"数登支付链接获取 成功: ","":"{\n \"req_msg_id\": \"ecc9ad7ef55211eea74400155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408105106100004056%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+10%3A56%3A06%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=T%2FOSK2Yv%2BAG0qDhAim8lDitY5kvkfYrqkn0gkbjZsfgwXYLPNVImnAmzwgkBRcMxyHd9JL6OrgKM9GCqt8uSUbzNhM2fRoOjPQCnfddBjh142TJlBWHQqVIl5XrwjotfzDrrKGRkU4PHv2NYru4m41Q5J4jwTn0RKysekHEoSgWnsX1gLOeaDU%2FoLX2Y%2BC8FmQzJ7grdTc057YfeEJ1Hkdd2eIPrzOPVTx%2BhBbjl9tFrYjCuneMy9aY5Sqz%2BSsGbkoI63Vsn1O2VbxENnPDVpaTBcWdlNMUVIIaCgn%2FpuZUNJiBF3YIpAZOoOH5ImBWaa1rB01ipi%2FYh6jibEvH%2BMQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+10%3A51%3A06\\u0026version=1.0\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:52:51.948+0800","caller":"err/common.go:32","msg":"数登支付链接获取 参数信息: ","":"digitalRegisterId:\"DRSANDBOX8240402000000369675\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:52:52.435+0800","caller":"err/common.go:32","msg":"数登支付链接获取 成功: ","":"{\n \"req_msg_id\": \"1772e954f55311eeb1a400155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408105106100004056%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+10%3A56%3A06%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=T%2FOSK2Yv%2BAG0qDhAim8lDitY5kvkfYrqkn0gkbjZsfgwXYLPNVImnAmzwgkBRcMxyHd9JL6OrgKM9GCqt8uSUbzNhM2fRoOjPQCnfddBjh142TJlBWHQqVIl5XrwjotfzDrrKGRkU4PHv2NYru4m41Q5J4jwTn0RKysekHEoSgWnsX1gLOeaDU%2FoLX2Y%2BC8FmQzJ7grdTc057YfeEJ1Hkdd2eIPrzOPVTx%2BhBbjl9tFrYjCuneMy9aY5Sqz%2BSsGbkoI63Vsn1O2VbxENnPDVpaTBcWdlNMUVIIaCgn%2FpuZUNJiBF3YIpAZOoOH5ImBWaa1rB01ipi%2FYh6jibEvH%2BMQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+10%3A51%3A06\\u0026version=1.0\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:52:52.436+0800","caller":"err/common.go:32","msg":"从url中获取数登支付金额 成功: ","":"{\n \"req_msg_id\": \"1772e954f55311eeb1a400155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408105106100004056%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+10%3A56%3A06%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=T%2FOSK2Yv%2BAG0qDhAim8lDitY5kvkfYrqkn0gkbjZsfgwXYLPNVImnAmzwgkBRcMxyHd9JL6OrgKM9GCqt8uSUbzNhM2fRoOjPQCnfddBjh142TJlBWHQqVIl5XrwjotfzDrrKGRkU4PHv2NYru4m41Q5J4jwTn0RKysekHEoSgWnsX1gLOeaDU%2FoLX2Y%2BC8FmQzJ7grdTc057YfeEJ1Hkdd2eIPrzOPVTx%2BhBbjl9tFrYjCuneMy9aY5Sqz%2BSsGbkoI63Vsn1O2VbxENnPDVpaTBcWdlNMUVIIaCgn%2FpuZUNJiBF3YIpAZOoOH5ImBWaa1rB01ipi%2FYh6jibEvH%2BMQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+10%3A51%3A06\\u0026version=1.0\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:53:28.166+0800","caller":"err/common.go:32","msg":"数登支付链接获取 参数信息: ","":"digitalRegisterId:\"DRSANDBOX8240402000000369675\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:53:28.711+0800","caller":"err/common.go:32","msg":"数登支付链接获取 成功: ","":"{\n \"req_msg_id\": \"2d0911e1f55311eeb45c00155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408105106100004056%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+10%3A56%3A06%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=T%2FOSK2Yv%2BAG0qDhAim8lDitY5kvkfYrqkn0gkbjZsfgwXYLPNVImnAmzwgkBRcMxyHd9JL6OrgKM9GCqt8uSUbzNhM2fRoOjPQCnfddBjh142TJlBWHQqVIl5XrwjotfzDrrKGRkU4PHv2NYru4m41Q5J4jwTn0RKysekHEoSgWnsX1gLOeaDU%2FoLX2Y%2BC8FmQzJ7grdTc057YfeEJ1Hkdd2eIPrzOPVTx%2BhBbjl9tFrYjCuneMy9aY5Sqz%2BSsGbkoI63Vsn1O2VbxENnPDVpaTBcWdlNMUVIIaCgn%2FpuZUNJiBF3YIpAZOoOH5ImBWaa1rB01ipi%2FYh6jibEvH%2BMQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+10%3A51%3A06\\u0026version=1.0\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:53:28.711+0800","caller":"err/common.go:32","msg":"从url中获取数登支付金额 成功: ","":"payUrl:\"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL&app_id=2021001158673595&biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408105106100004056%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+10%3A56%3A06%22+%7D&charset=UTF-8&format=json&method=alipay.trade.page.pay¬ify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl&return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl&sign=T%2FOSK2Yv%2BAG0qDhAim8lDitY5kvkfYrqkn0gkbjZsfgwXYLPNVImnAmzwgkBRcMxyHd9JL6OrgKM9GCqt8uSUbzNhM2fRoOjPQCnfddBjh142TJlBWHQqVIl5XrwjotfzDrrKGRkU4PHv2NYru4m41Q5J4jwTn0RKysekHEoSgWnsX1gLOeaDU%2FoLX2Y%2BC8FmQzJ7grdTc057YfeEJ1Hkdd2eIPrzOPVTx%2BhBbjl9tFrYjCuneMy9aY5Sqz%2BSsGbkoI63Vsn1O2VbxENnPDVpaTBcWdlNMUVIIaCgn%2FpuZUNJiBF3YIpAZOoOH5ImBWaa1rB01ipi%2FYh6jibEvH%2BMQ%3D%3D&sign_type=RSA2×tamp=2024-04-08+10%3A51%3A06&version=1.0\" resultCode:\"OK\" resultMsg:\"SUCCESS\" reqMsgId:\"2d0911e1f55311eeb45c00155d11ab81\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:55:02.904+0800","caller":"err/common.go:32","msg":"数登支付链接获取 参数信息: ","":"digitalRegisterId:\"DRSANDBOX8240402000000369675\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T10:55:03.526+0800","caller":"err/common.go:32","msg":"数登支付链接获取 成功: ","":"{\n \"req_msg_id\": \"65812790f55311ee93dc00155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408105106100004056%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+10%3A56%3A06%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=T%2FOSK2Yv%2BAG0qDhAim8lDitY5kvkfYrqkn0gkbjZsfgwXYLPNVImnAmzwgkBRcMxyHd9JL6OrgKM9GCqt8uSUbzNhM2fRoOjPQCnfddBjh142TJlBWHQqVIl5XrwjotfzDrrKGRkU4PHv2NYru4m41Q5J4jwTn0RKysekHEoSgWnsX1gLOeaDU%2FoLX2Y%2BC8FmQzJ7grdTc057YfeEJ1Hkdd2eIPrzOPVTx%2BhBbjl9tFrYjCuneMy9aY5Sqz%2BSsGbkoI63Vsn1O2VbxENnPDVpaTBcWdlNMUVIIaCgn%2FpuZUNJiBF3YIpAZOoOH5ImBWaa1rB01ipi%2FYh6jibEvH%2BMQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+10%3A51%3A06\\u0026version=1.0\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T11:23:35.819+0800","caller":"err/common.go:32","msg":"数登支付链接获取 参数信息: ","":"digitalRegisterId:\"DRSANDBOX8240402000000369675\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T11:23:36.645+0800","caller":"err/common.go:32","msg":"数登支付链接获取 成功: ","":"{\n \"req_msg_id\": \"627b088af55711ee95ab00155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408112301100004057%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+11%3A28%3A01%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=cP7C9Y%2FpDsOjMfCljWD6k%2BONc8Rd4TiVK3HeeHkVix%2ByS1LABEQ%2B6lcG2bJmRDptngKyeQMjGP2UwnNf%2B%2FLj2nlA%2BeLV2KXRZdQkdwpZvNEsuXwUc%2FVT6renlDAE6FY9RLvifu1bN%2Ff6dtf%2F%2F%2Byj8XHde%2FFFQObkEMU7KuX9%2BhxG7bxcZOFViCgAQy70Fio6avoctCu06AwcOxqrNyNhIOSl0mEaCLn4sBz%2FfG%2BInsUnspy6eYyHum5GyZRXeFXU5Uh6d5hgDuKDj%2BhJOKv3TZuDNNlzivsvT8cntEikFXsJxGafTjYZM8x9qsavTLwlO4UMX66DW7hluupjAW%2FbHQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+11%3A23%3A01\\u0026version=1.0\"\n}"}
|
||||||
|
{"level":"INFO","time":"2024-04-08T11:25:09.224+0800","caller":"err/common.go:32","msg":"数登支付链接获取 参数信息: ","":"digitalRegisterId:\"DRSANDBOX8240402000000369675\""}
|
||||||
|
{"level":"INFO","time":"2024-04-08T11:25:09.631+0800","caller":"err/common.go:32","msg":"数登支付链接获取 成功: ","":"{\n \"req_msg_id\": \"9a27b753f55711eeb1d700155d11ab81\",\n \"result_code\": \"OK\",\n \"result_msg\": \"SUCCESS\",\n \"pay_url\": \"https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.4.ALL\\u0026app_id=2021001158673595\\u0026biz_content=%7B%22out_trade_no%22%3A%221DWCR_MY20240408112301100004057%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22total_amount%22%3A0.01%2C%22subject%22%3A%22%E7%99%BB%E8%AE%B0%E4%BA%A4%E6%AC%BE%22%2C%22time_expire%22%3A%222024-04-08+11%3A28%3A01%22+%7D\\u0026charset=UTF-8\\u0026format=json\\u0026method=alipay.trade.page.pay\\u0026notify_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FnotifyUrl\\u0026return_url=http%3A%2F%2F111.202.243.82%3A8114%2Falipay%2Fpay%2FreturnUrl\\u0026sign=cP7C9Y%2FpDsOjMfCljWD6k%2BONc8Rd4TiVK3HeeHkVix%2ByS1LABEQ%2B6lcG2bJmRDptngKyeQMjGP2UwnNf%2B%2FLj2nlA%2BeLV2KXRZdQkdwpZvNEsuXwUc%2FVT6renlDAE6FY9RLvifu1bN%2Ff6dtf%2F%2F%2Byj8XHde%2FFFQObkEMU7KuX9%2BhxG7bxcZOFViCgAQy70Fio6avoctCu06AwcOxqrNyNhIOSl0mEaCLn4sBz%2FfG%2BInsUnspy6eYyHum5GyZRXeFXU5Uh6d5hgDuKDj%2BhJOKv3TZuDNNlzivsvT8cntEikFXsJxGafTjYZM8x9qsavTLwlO4UMX66DW7hluupjAW%2FbHQ%3D%3D\\u0026sign_type=RSA2\\u0026timestamp=2024-04-08+11%3A23%3A01\\u0026version=1.0\"\n}"}
|
||||||
|
Loading…
Reference in New Issue
Block a user