Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
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
黄奎
mall.oytour.com
Commits
0cbbbf68
Commit
0cbbbf68
authored
Jun 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c46d0751
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
35 deletions
+36
-35
MallController.cs
Mall.WebApi/Controllers/Mall/MallController.cs
+36
-35
No files found.
Mall.WebApi/Controllers/Mall/MallController.cs
View file @
0cbbbf68
...
@@ -342,41 +342,6 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -342,41 +342,6 @@ namespace Mall.WebApi.Controllers.MallBase
};
};
}
}
}
}
//基础配置
setting
=
MallHelper
.
GetBasicSetting
(
miniProgram
);
//分销基础信息
share_setting
=
MallHelper
.
GetDistributorBasicsInfo
(
miniProgram
);
//分销商设置
share_setting_custom
=
MallHelper
.
GetDistributorCustomInfo
(
miniProgram
);
#
region
商品分类样式
var
productCategoryStyle
=
productModule
.
GetProductCategoryStyleInfo
(
miniProgram
.
TenantId
??
0
,
miniProgram
.
MallBaseId
);
cat_style
=
new
{
cat_style
=
productCategoryStyle
?.
Type
,
recommend_count
=
productCategoryStyle
?.
Style
,
cat_goods_count
=
productCategoryStyle
?.
CategoryNum
,
cat_goods_cols
=
productCategoryStyle
?.
RowNum
};
#
endregion
mall
=
new
{
id
=
miniProgram
.
MallBaseId
,
name
=
miniProgram
.
MallName
,
user_id
=
0
,
created_at
=
miniProgram
.
CreateDate
.
HasValue
?
miniProgram
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
updated_at
=
miniProgram
.
CreateDate
.
HasValue
?
miniProgram
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
deleted_at
=
"0000-00-00 00:00:00"
,
is_delete
=
miniProgram
.
Status
,
is_recycle
=
0
,
is_disable
=
miniProgram
.
Status
,
expired_at
=
"0000-00-00 00:00:00"
,
option
=
new
List
<
object
>(),
setting
,
};
}
}
if
(
RequestParm
.
OpenId
!=
null
&&
!
string
.
IsNullOrWhiteSpace
(
RequestParm
.
OpenId
))
if
(
RequestParm
.
OpenId
!=
null
&&
!
string
.
IsNullOrWhiteSpace
(
RequestParm
.
OpenId
))
...
@@ -386,6 +351,42 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -386,6 +351,42 @@ namespace Mall.WebApi.Controllers.MallBase
}
}
}
}
//基础配置
setting
=
MallHelper
.
GetBasicSetting
(
miniProgram
);
//分销基础信息
share_setting
=
MallHelper
.
GetDistributorBasicsInfo
(
miniProgram
);
//分销商设置
share_setting_custom
=
MallHelper
.
GetDistributorCustomInfo
(
miniProgram
);
#
region
商品分类样式
var
productCategoryStyle
=
productModule
.
GetProductCategoryStyleInfo
(
miniProgram
.
TenantId
??
0
,
miniProgram
.
MallBaseId
);
cat_style
=
new
{
cat_style
=
productCategoryStyle
?.
Type
,
recommend_count
=
productCategoryStyle
?.
Style
,
cat_goods_count
=
productCategoryStyle
?.
CategoryNum
,
cat_goods_cols
=
productCategoryStyle
?.
RowNum
};
#
endregion
mall
=
new
{
id
=
miniProgram
.
MallBaseId
,
name
=
miniProgram
.
MallName
,
user_id
=
0
,
created_at
=
miniProgram
.
CreateDate
.
HasValue
?
miniProgram
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
updated_at
=
miniProgram
.
CreateDate
.
HasValue
?
miniProgram
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
deleted_at
=
"0000-00-00 00:00:00"
,
is_delete
=
miniProgram
.
Status
,
is_recycle
=
0
,
is_disable
=
miniProgram
.
Status
,
expired_at
=
"0000-00-00 00:00:00"
,
option
=
new
List
<
object
>(),
setting
,
};
var
miniPageList
=
programPageModule
.
GetMiniprogram_Page_ListExtModule
(
new
RB_MiniProgram_Page_Extend
()
{
MallBaseId
=
RequestParm
.
MallBaseId
});
var
miniPageList
=
programPageModule
.
GetMiniprogram_Page_ListExtModule
(
new
RB_MiniProgram_Page_Extend
()
{
MallBaseId
=
RequestParm
.
MallBaseId
});
var
objResult
=
new
var
objResult
=
new
{
{
...
...
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