FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
wxpay/notifies.go at master · objcoding/wxpay · GitHub
objcoding
wxpay
Repository navigation
Code
Issues
9
(9)
Pull requests
4
(4)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
wxpay
/
notifies.go
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (16 loc) · 424 Bytes
Breadcrumbs
wxpay
/
notifies.go
Copy path
File metadata and controls
19 lines (16 loc) · 424 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package
wxpay
type
Notifies
struct
{}
// 通知成功
func
(
n
*
Notifies
)
OK
()
string
{
var
params
=
make
(
Params
)
params
.
SetString
(
"return_code"
,
Success
)
params
.
SetString
(
"return_msg"
,
"ok"
)
return
MapToXml
(
params
)
}
// 通知不成功
func
(
n
*
Notifies
)
NotOK
(
errMsg
string
)
string
{
var
params
=
make
(
Params
)
params
.
SetString
(
"return_code"
,
Fail
)
params
.
SetString
(
"return_msg"
,
errMsg
)
return
MapToXml
(
params
)
}
Back
|
FazBrowse Home
|
New Git URL