Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
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
曲欣亮
shop
Commits
b91e88ff
Commit
b91e88ff
authored
Mar 22, 2024
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
19495898
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
GoodsController.java
src/main/java/com/egolm/shop/api/GoodsController.java
+3
-3
GoodsServiceImpl.java
...ava/com/egolm/shop/api/service/impl/GoodsServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/shop/api/GoodsController.java
View file @
b91e88ff
...
...
@@ -174,7 +174,7 @@ public class GoodsController {
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"goodsId"
,
dataType
=
"String"
,
required
=
true
,
value
=
"商品编号"
,
defaultValue
=
""
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"contractNo"
,
dataType
=
"String"
,
required
=
true
,
value
=
"合同编号"
,
defaultValue
=
""
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"custTypeId"
,
dataType
=
"String"
,
required
=
false
,
value
=
"合同编号"
,
defaultValue
=
""
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"
S
hopPriceTypeID"
,
dataType
=
"String"
,
required
=
false
,
value
=
"ShopPriceTypeID"
,
defaultValue
=
""
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"
s
hopPriceTypeID"
,
dataType
=
"String"
,
required
=
false
,
value
=
"ShopPriceTypeID"
,
defaultValue
=
""
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"terminal"
,
dataType
=
"String"
,
required
=
false
,
value
=
"终端标识"
,
defaultValue
=
"wechat"
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"langID"
,
dataType
=
"String"
,
required
=
false
,
value
=
"语言"
,
defaultValue
=
"936"
),
@ApiImplicitParam
(
paramType
=
"query"
,
name
=
"sign"
,
dataType
=
"String"
,
required
=
true
,
value
=
"签名"
,
defaultValue
=
""
),
...
...
@@ -183,7 +183,7 @@ public class GoodsController {
@RequestMapping
(
value
=
"/goodsDetail"
,
method
=
RequestMethod
.
GET
)
@IDCLogResource
(
name
=
"商品详情"
)
public
String
goodsDetail
(
String
orgNo
,
String
goodsId
,
String
contractNo
,
String
custTypeId
,
String
terminal
,
String
S
hopPriceTypeID
,
String
langID
,
String
agentID
,
HttpServletRequest
request
,
HttpServletResponse
response
)
{
public
String
goodsDetail
(
String
orgNo
,
String
goodsId
,
String
contractNo
,
String
custTypeId
,
String
terminal
,
String
s
hopPriceTypeID
,
String
langID
,
String
agentID
,
HttpServletRequest
request
,
HttpServletResponse
response
)
{
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"orgNo"
,
orgNo
);
...
...
@@ -193,7 +193,7 @@ public class GoodsController {
params
.
put
(
"langID"
,
langID
);
params
.
put
(
"terminal"
,
terminal
);
params
.
put
(
"agentID"
,
agentID
);
params
.
put
(
"
ShopPriceTypeID"
,
S
hopPriceTypeID
);
params
.
put
(
"
shopPriceTypeID"
,
s
hopPriceTypeID
);
return
goodsService
.
goodsDetail
(
params
);
}
...
...
src/main/java/com/egolm/shop/api/service/impl/GoodsServiceImpl.java
View file @
b91e88ff
...
...
@@ -167,7 +167,7 @@ public class GoodsServiceImpl implements GoodsService {
String
goodsId
=(
String
)
map
.
get
(
"goodsId"
);
String
contractNo
=(
String
)
map
.
get
(
"contractNo"
);
String
custTypeId
=(
String
)
map
.
get
(
"custTypeId"
);
String
shopPriceTypeId
=(
String
)
map
.
get
(
"
S
hopPriceTypeID"
);
String
shopPriceTypeId
=(
String
)
map
.
get
(
"
s
hopPriceTypeID"
);
String
agentID
=
map
.
get
(
"agentID"
)+
""
;
boolean
isCheckAgentID
=
StringUtil
.
isNotBlank
(
agentID
)?
true
:
false
;
...
...
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