记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
b3f5d824
Commit
b3f5d824
authored
Nov 11, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~opt;
parent
7337a6f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
GoblinFrontController.java
...dnet/service/goblin/controller/GoblinFrontController.java
+2
-2
GoblinStoreMgtGoodsImportController.java
...ontroller/manage/GoblinStoreMgtGoodsImportController.java
+3
-3
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/GoblinFrontController.java
View file @
b3f5d824
...
...
@@ -87,8 +87,8 @@ public class GoblinFrontController {
@GetMapping
(
"getGoodsDetail/scanner"
)
@ApiOperation
(
value
=
"获得商品详情/条形码识别"
,
notes
=
"条码识别SKU时使用"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
t
ype
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"barCode"
,
value
=
"SKU条码"
),
@ApiImplicitParam
(
t
ype
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"marketId"
,
value
=
"活动id"
),
@ApiImplicitParam
(
paramT
ype
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"barCode"
,
value
=
"SKU条码"
),
@ApiImplicitParam
(
paramT
ype
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"marketId"
,
value
=
"活动id"
),
})
public
ResponseDto
<
GoblinFrontGoodDetailVo
>
getGoodsDetailByScanner
(
@RequestParam
String
barCode
,
@RequestParam
(
"marketId"
)
String
marketId
)
{
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtGoodsImportController.java
View file @
b3f5d824
...
...
@@ -35,9 +35,9 @@ public class GoblinStoreMgtGoodsImportController {
@PostMapping
(
"/upload"
)
@ApiOperation
(
value
=
"批量导入数据"
,
notes
=
"同一个店铺多次导入数据时间间隔最短30秒"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"F
ile"
,
name
=
"file"
,
value
=
"文件"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"Integer
"
,
name
=
"dataType"
,
value
=
"导入数据类型[1-商品数据]"
,
example
=
"1"
),
@ApiImplicitParam
(
t
ype
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID"
),
@ApiImplicitParam
(
paramType
=
"form"
,
required
=
true
,
dataType
=
"f
ile"
,
name
=
"file"
,
value
=
"文件"
),
@ApiImplicitParam
(
paramType
=
"form"
,
required
=
true
,
dataType
=
"int
"
,
name
=
"dataType"
,
value
=
"导入数据类型[1-商品数据]"
,
example
=
"1"
),
@ApiImplicitParam
(
paramT
ype
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"店铺ID"
),
})
public
ResponseDto
<
String
>
upload
(
@RequestParam
MultipartFile
file
,
@RequestParam
int
dataType
,
@RequestParam
@NotBlank
(
message
=
"店铺ID不能为空"
)
String
storeId
)
{
...
...
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