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
b04f76ca
Commit
b04f76ca
authored
Aug 21, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
17f02105
54d9fd74
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
40 deletions
+30
-40
.gitignore
.gitignore
+1
-1
ShareController.cs
Mall.WebApi/Controllers/MarketingCenter/ShareController.cs
+18
-1
Mall.WebApi.csproj
Mall.WebApi/Mall.WebApi.csproj
+6
-0
Mall.WebApi.csproj.user
Mall.WebApi/Mall.WebApi.csproj.user
+1
-1
mall.oytour.com.pubxml
....WebApi/Properties/PublishProfiles/mall.oytour.com.pubxml
+0
-21
mall.oytour.com.pubxml.user
...pi/Properties/PublishProfiles/mall.oytour.com.pubxml.user
+0
-16
appsettings.json
Mall.WebApi/appsettings.json
+4
-0
No files found.
.gitignore
View file @
b04f76ca
...
...
@@ -3,6 +3,6 @@ obj/
.vs/
packages/
Properties/
PublishProfiles/
Mall.WindowsService/Properties/PublishProfiles/FolderProfile.pubxml
Mall.Model/Entity/Sign/RB_Sign_Setting.cs
Mall.WebApi/Properties/
Mall.WebApi/Controllers/MarketingCenter/ShareController.cs
View file @
b04f76ca
...
...
@@ -140,8 +140,25 @@ namespace Mall.WebApi.Controllers.MarketingCenter
query
.
TenantId
=
parms
.
TenantId
;
query
.
MallBaseId
=
parms
.
MallBaseId
;
var
list
=
shareModule
.
GetShareFriendPageListModule
(
pagelist
.
pageIndex
,
pagelist
.
pageSize
,
out
long
count
,
query
,
IsUse
:
true
);
foreach
(
var
item
in
list
)
{
if
(
item
.
GoodsId
>
0
)
{
item
.
LinkUrl
=
"/pages/goods/goods?id="
+
item
.
GoodsId
;
}
}
pagelist
.
count
=
Convert
.
ToInt32
(
count
);
pagelist
.
pageData
=
list
;
pagelist
.
pageData
=
list
.
Select
(
qitem
=>
new
{
HeadImg
=
Common
.
Config
.
ReadConfigKey
(
"ShareConfig"
,
"ShareImg"
),
UserName
=
Common
.
Config
.
ReadConfigKey
(
"ShareConfig"
,
"ShareUserName"
),
qitem
.
Id
,
qitem
.
MaterialInfo
,
qitem
.
ImgList
,
qitem
.
CoverImg
,
qitem
.
LinkUrl
,
qitem
.
CreateDateStr
});
return
ApiResult
.
Success
(
""
,
pagelist
);
}
...
...
Mall.WebApi/Mall.WebApi.csproj
View file @
b04f76ca
...
...
@@ -6,6 +6,12 @@
<PropertyGroup>
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Properties\PublishProfiles\**" />
<Content Remove="Properties\PublishProfiles\**" />
<EmbeddedResource Remove="Properties\PublishProfiles\**" />
<None Remove="Properties\PublishProfiles\**" />
</ItemGroup>
<ItemGroup>
<Content Remove="web.config" />
...
...
Mall.WebApi/Mall.WebApi.csproj.user
View file @
b04f76ca
...
...
@@ -9,7 +9,7 @@
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>
True
</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
<WebStackScaffolding_LayoutPageFile
/>
<WebStackScaffolding_IsAsyncSelected>
False
</WebStackScaffolding_IsAsyncSelected>
<NameOfLastUsedPublishProfile>
mall.oytour.com
</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>
mall
api
.oytour.com
</NameOfLastUsedPublishProfile>
<ShowAllFiles>
false
</ShowAllFiles>
</PropertyGroup>
</Project>
\ No newline at end of file
Mall.WebApi/Properties/PublishProfiles/mall.oytour.com.pubxml
deleted
100644 → 0
View file @
17f02105
<?xml version="1.0" encoding="utf-8"?>
<!--
此文件由 Web 项目的发布/打包过程使用。可以通过编辑此 MSBuild 文件
自定义此过程的行为。为了解与此相关的更多内容,请访问 https://go.microsoft.com/fwlink/?LinkID=208121。
-->
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<WebPublishMethod>
FileSystem
</WebPublishMethod>
<LastUsedBuildConfiguration>
Release
</LastUsedBuildConfiguration>
<LastUsedPlatform>
Any CPU
</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish
/>
<LaunchSiteAfterPublish>
True
</LaunchSiteAfterPublish>
<ExcludeApp_Data>
False
</ExcludeApp_Data>
<TargetFramework>
netcoreapp3.0
</TargetFramework>
<ProjectGuid>
ad842a33-b1df-4360-ae06-536353f0276c
</ProjectGuid>
<SelfContained>
false
</SelfContained>
<publishUrl>
F:\网站发布\Mall.oytour.com
</publishUrl>
<DeleteExistingFiles>
False
</DeleteExistingFiles>
<RuntimeIdentifier>
win-x64
</RuntimeIdentifier>
</PropertyGroup>
</Project>
\ No newline at end of file
Mall.WebApi/Properties/PublishProfiles/mall.oytour.com.pubxml.user
deleted
100644 → 0
View file @
17f02105
<?xml version="1.0" encoding="utf-8"?>
<!--
此文件由 Web 项目的发布/打包过程使用。可以通过编辑此 MSBuild 文件
自定义此过程的行为。为了解与此相关的更多内容,请访问 https://go.microsoft.com/fwlink/?LinkID=208121。
-->
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile
/>
<_PublishTargetUrl>
F:\网站发布\Mall.oytour.com
</_PublishTargetUrl>
</PropertyGroup>
<ItemGroup>
<File
Include=
"run.cmd"
>
<publishTime>
04/22/2020 10:26:33
</publishTime>
</File>
</ItemGroup>
</Project>
\ No newline at end of file
Mall.WebApi/appsettings.json
View file @
b04f76ca
...
...
@@ -78,5 +78,9 @@
},
"InitializeImages"
:
{
"GradeEntranceImage"
:
"1234566778"
},
"ShareConfig"
:
{
"ShareImg"
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zanyang.png"
,
"ShareUserName"
:
"赞羊生活"
}
}
\ No newline at end of file
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