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
05fa4ae4
authored
Jul 03, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
c93a9e6d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
bat/searchHttp.bat
service/common_ly_service.go
bat/searchHttp.bat
View file @
05fa4ae4
#set MICRO_REGISTRY=etcd
#set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379
go run ../cmd/search_http_server.go -config=../conf/config.ini
\ No newline at end of file
go run ../cmd/search_http_server.go -config=../conf
\ No newline at end of file
service/common_ly_service.go
View file @
05fa4ae4
package
service
import
(
"fmt"
_
"fmt"
_
"github.com/tidwall/gjson"
"search_server/model"
"search_server/pkg/gredis"
_
"search_server/pkg/gredis"
)
//关键词搜索过期时间
...
...
@@ -36,6 +36,7 @@ func getSkuByGoodsSn(goods_list map[string]*model.LyClearGoodsList,supplier_info
//
//fmt.Println(productList)
//return productList
return
nil
}
/*
新增或者更新redis
...
...
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