mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 Support in-app purchase PRO Features and Subscription on iOS https://github.com/siyuan-note/siyuan/issues/14159
This commit is contained in:
parent
8bf263a871
commit
9433d70af7
1 changed files with 2 additions and 2 deletions
|
|
@ -56,9 +56,9 @@ import (
|
||||||
// -6:参数错误
|
// -6:参数错误
|
||||||
// -7:校验 accountToken 失败
|
// -7:校验 accountToken 失败
|
||||||
// -8:校验 transaction 失败
|
// -8:校验 transaction 失败
|
||||||
func VerifyAppStoreTransaction(accountToken, transactionID string) (retCode int, retMsg string) {
|
func VerifyAppStoreTransaction(accountToken, transactionID string) (retCode int) {
|
||||||
retCode = -2
|
retCode = -2
|
||||||
retMsg = "unknown error"
|
retMsg := "unknown error"
|
||||||
|
|
||||||
accountToken = strings.TrimSpace(accountToken)
|
accountToken = strings.TrimSpace(accountToken)
|
||||||
transactionID = strings.TrimSpace(transactionID)
|
transactionID = strings.TrimSpace(transactionID)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue