Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
go_sku_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
b6d2fd2e
authored
Jan 13, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev' of
http://119.23.72.7/q578953158/go_sku_server
into dev
parents
5003b2fe
9dd55e90
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
controller/sku_ladderprice_controller.go
controller/sku_ladderprice_controller.go
View file @
b6d2fd2e
...
...
@@ -4,6 +4,7 @@ import (
"github.com/gin-gonic/gin"
"go_sku_server/model"
"go_sku_server/pkg/common"
"go_sku_server/pkg/logger"
"go_sku_server/service"
)
...
...
@@ -28,10 +29,8 @@ import (
参考业务逻辑:http://119.23.72.7/ymx/GoodsMachining/blob/master/app/Http/Controllers/ServicesController.php#L66
*/
func
SkuLadderprice
(
ctx
*
gin
.
Context
)
{
//ctx.Request.ParseMultipartForm(32 << 20)
//postForm := ctx.Request.Form
if
ladderPriceRequest
,
err
:=
model
.
NewPriceRequest
(
ctx
);
err
!=
nil
{
logger
.
Log
(
common
.
GetRequestParam
(
ctx
)
+
err
.
Error
(),
"ladder_price"
,
1
)
common
.
Output
(
ctx
,
err
.
Code
,
err
.
Error
(),
""
)
}
else
{
goodsInfo
:=
CommonController
(
ctx
)
//获取商品详情(调用树贤和黄哥之前写好的Controller)
...
...
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