Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
photo_taking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1f73bc73
authored
Sep 14, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加日志
parent
6c162092
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
internal/service/param_handle.go
internal/service/param_handle.go
View file @
1f73bc73
package
service
import
(
"
github.com/go-kratos/kratos/pkg/log
"
"
fmt
"
"strconv"
"strings"
bm
"github.com/go-kratos/kratos/pkg/net/http/blademaster"
...
...
@@ -13,7 +13,7 @@ func StoreErWeiMaGetData(c *bm.Context,erweima string) (num int64,materialno str
if
len
(
paramArr
)
<
5
{
ErrorReturn
(
c
,
"二维码参数不正常"
)
}
log
.
Info
(
paramArr
)
fmt
.
Println
(
paramArr
[
3
],
paramArr
[
4
]
)
returnNum
,
_
:=
strconv
.
ParseInt
(
paramArr
[
3
],
10
,
64
)
return
returnNum
,
paramArr
[
4
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment