This website works better with JavaScript.
Home
Explore
Help
Sign In
tgo
/
userrpc
Watch
6
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
47
Wiki
Activity
Browse Source
修改绑定第三方参数
master
v0.2.3
guzeng
3 years ago
parent
7b787a02db
commit
08c15f6797
2 changed files
with
13 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
common.go
+12
-0
sign.go
+ 1
- 1
common.go
View File
@ -31,7 +31,7 @@ func rpc_server_conn(url ...string) (*UserServiceClient, error) {
conn
,
_
,
err
:=
DialUserService
(
"tcp"
,
user_rpc_url
)
if
err
!=
nil
{
return
map
[
stri
ng
]
string
{
}
,
err
return
nil
,
err
}
return
conn
,
nil
+ 12
- 0
sign.go
View File
@ -1,5 +1,17 @@
package
userrpc
import
(
"crypto/md5"
"encoding/hex"
"encoding/json"
"errors"
"strconv"
"strings"
"time"
"git.tetele.net/tgo/crypter"
)
/
*
*
*
签名
*
/
Write
Preview
Loading…
Cancel
Save