Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_server
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
6cb737b1
authored
Dec 07, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
0d4b955f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
pkg/common/function.go
service/optimum_service.go
pkg/common/function.go
View file @
6cb737b1
...
...
@@ -214,7 +214,7 @@ func NumberToHtml(number int) (html string) {
* 返回形式如下 : yuiopkdsi rnvewjeil xmiqplmza
*/
func
StrRandom
(
lenNum
int
)
string
{
randStr
:=
"sdwpkxmiqplmzacbmeruwulurjlauejrifkfghjklzxcvbnmqwwertyuiopkdsieurnvewjeilweiskvnx"
randStr
:=
"
a
sdwpkxmiqplmzacbmeruwulurjlauejrifkfghjklzxcvbnmqwwertyuiopkdsieurnvewjeilweiskvnx"
strLen
:=
len
(
randStr
)
-
9
var
result
string
for
i
:=
0
;
i
<
lenNum
;
i
++
{
...
...
service/optimum_service.go
View file @
6cb737b1
...
...
@@ -168,7 +168,7 @@ func (qs *OptimumService) GetOptimumAttr(ctx *gin.Context) (results model.LyResp
返回供应商详情
*/
func
(
qs
*
OptimumService
)
GetOptimumAttrInfo
(
ctx
*
gin
.
Context
)
(
results
model
.
LyResponse
)
{
//fmt.Print(common.NumberToHtml(
1
))
//fmt.Print(common.NumberToHtml(
gconv.Int(ctx.Request.FormValue("d"))
))
//索引字典
qs
.
getQueryAttr
(
ctx
)
...
...
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