Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-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
3a62a37f
authored
Dec 31, 2019
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
判断sql插入限制
parent
2ee87318
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
internal/dao/com_basicinfos.go
internal/dao/com_basicinfos.go
View file @
3a62a37f
...
...
@@ -2,6 +2,7 @@ package dao
import
(
"context"
"fmt"
"github.com/bilibili/kratos/pkg/database/sql"
"github.com/pkg/errors"
"kaopu-server/internal/logic"
...
...
@@ -36,6 +37,7 @@ func (d *dao) GetCompanyBaseInfoByCid(c context.Context, companyId int64) (res m
tycInfo
:=
logic
.
HttpGet
(
res
[
"com_name"
])
tycInfo
[
"com_credits_id"
]
=
res
[
"com_credits_id"
]
tycInfo
[
"tyc_select_num"
]
=
"1"
fmt
.
Println
(
tycInfo
)
d
.
UpdateCompanyBaseInfoForTyc
(
c
,
tycInfo
)
logic
.
SendMessage
(
logic
.
StringTurnInt64
(
res
[
"legal_mobile_phone"
]),
""
)
}
...
...
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