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
0400e28d
Commit
0400e28d
authored
Apr 21, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
6f672868
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
89 additions
and
10 deletions
+89
-10
Mall.Module.BaseSetUp.csproj
Mall/Mall.Module.BaseSetUp/Mall.Module.BaseSetUp.csproj
+1
-1
Mall.Module.BaseSetUp.csproj.nuget.dgspec.json
...eSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.dgspec.json
+17
-3
project.assets.json
Mall/Mall.Module.BaseSetUp/obj/project.assets.json
+19
-5
MallBaseController.cs
Mall/Mall.WebApi/Controllers/MallBase/MallBaseController.cs
+51
-0
Mall.WebApi.csproj
Mall/Mall.WebApi/Mall.WebApi.csproj
+1
-1
No files found.
Mall/Mall.Module.BaseSetUp/Mall.Module.BaseSetUp.csproj
View file @
0400e28d
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.
1
</TargetFramework>
<TargetFramework>netcoreapp3.
0
</TargetFramework>
</PropertyGroup>
<ItemGroup>
...
...
Mall/Mall.Module.BaseSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.dgspec.json
View file @
0400e28d
...
...
@@ -393,7 +393,7 @@
"C:
\\
Program Files (x86)
\\
NuGet
\\
Config
\\
Xamarin.Offline.config"
],
"originalTargetFrameworks"
:
[
"netcoreapp3.
1
"
"netcoreapp3.
0
"
],
"sources"
:
{
"C:
\\
Program Files (x86)
\\
Microsoft SDKs
\\
NuGetPackages
\\
"
:
{},
...
...
@@ -401,7 +401,7 @@
"https://api.nuget.org/v3/index.json"
:
{}
},
"frameworks"
:
{
"netcoreapp3.
1
"
:
{
"netcoreapp3.
0
"
:
{
"projectReferences"
:
{
"D:
\\
project
\\
GitProject
\\
ShoppingMall
\\
Mall
\\
Mall.Model
\\
Mall.Model.csproj"
:
{
"projectPath"
:
"D:
\\
project
\\
GitProject
\\
ShoppingMall
\\
Mall
\\
Mall.Model
\\
Mall.Model.csproj"
...
...
@@ -419,7 +419,7 @@
}
},
"frameworks"
:
{
"netcoreapp3.
1
"
:
{
"netcoreapp3.
0
"
:
{
"imports"
:
[
"net461"
,
"net462"
,
...
...
@@ -430,6 +430,20 @@
],
"assetTargetFallback"
:
true
,
"warn"
:
true
,
"downloadDependencies"
:
[
{
"name"
:
"Microsoft.AspNetCore.App.Ref"
,
"version"
:
"[3.0.1, 3.0.1]"
},
{
"name"
:
"Microsoft.NETCore.App.Ref"
,
"version"
:
"[3.0.0, 3.0.0]"
},
{
"name"
:
"Microsoft.WindowsDesktop.App.Ref"
,
"version"
:
"[3.0.0, 3.0.0]"
}
],
"frameworkReferences"
:
{
"Microsoft.NETCore.App"
:
{
"privateAssets"
:
"all"
...
...
Mall/Mall.Module.BaseSetUp/obj/project.assets.json
View file @
0400e28d
{
"version"
:
3
,
"targets"
:
{
".NETCoreApp,Version=v3.
1
"
:
{
".NETCoreApp,Version=v3.
0
"
:
{
"Autofac/4.9.4"
:
{
"type"
:
"package"
,
"compile"
:
{
...
...
@@ -8599,7 +8599,7 @@
}
},
"projectFileDependencyGroups"
:
{
".NETCoreApp,Version=v3.
1
"
:
[
".NETCoreApp,Version=v3.
0
"
:
[
"Mall.Model >= 1.0.0"
,
"Mall.Repository >= 1.0.0"
]
...
...
@@ -8628,7 +8628,7 @@
"C:
\\
Program Files (x86)
\\
NuGet
\\
Config
\\
Xamarin.Offline.config"
],
"originalTargetFrameworks"
:
[
"netcoreapp3.
1
"
"netcoreapp3.
0
"
],
"sources"
:
{
"C:
\\
Program Files (x86)
\\
Microsoft SDKs
\\
NuGetPackages
\\
"
:
{},
...
...
@@ -8636,7 +8636,7 @@
"https://api.nuget.org/v3/index.json"
:
{}
},
"frameworks"
:
{
"netcoreapp3.
1
"
:
{
"netcoreapp3.
0
"
:
{
"projectReferences"
:
{
"D:
\\
project
\\
GitProject
\\
ShoppingMall
\\
Mall
\\
Mall.Model
\\
Mall.Model.csproj"
:
{
"projectPath"
:
"D:
\\
project
\\
GitProject
\\
ShoppingMall
\\
Mall
\\
Mall.Model
\\
Mall.Model.csproj"
...
...
@@ -8654,7 +8654,7 @@
}
},
"frameworks"
:
{
"netcoreapp3.
1
"
:
{
"netcoreapp3.
0
"
:
{
"imports"
:
[
"net461"
,
"net462"
,
...
...
@@ -8665,6 +8665,20 @@
],
"assetTargetFallback"
:
true
,
"warn"
:
true
,
"downloadDependencies"
:
[
{
"name"
:
"Microsoft.AspNetCore.App.Ref"
,
"version"
:
"[3.0.1, 3.0.1]"
},
{
"name"
:
"Microsoft.NETCore.App.Ref"
,
"version"
:
"[3.0.0, 3.0.0]"
},
{
"name"
:
"Microsoft.WindowsDesktop.App.Ref"
,
"version"
:
"[3.0.0, 3.0.0]"
}
],
"frameworkReferences"
:
{
"Microsoft.NETCore.App"
:
{
"privateAssets"
:
"all"
...
...
Mall/Mall.WebApi/Controllers/MallBase/MallBaseController.cs
0 → 100644
View file @
0400e28d
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
using
Mall.Common.API
;
using
Mall.Model.Entity.BaseSetUp
;
using
Mall.Module.BaseSetUp
;
using
Mall.WebApi.Filter
;
using
Microsoft.AspNetCore.Cors
;
using
Microsoft.AspNetCore.Mvc
;
using
Newtonsoft.Json
;
namespace
Mall.WebApi.Controllers.MallBase
{
[
Route
(
"api/[controller]/[action]"
)]
[
ApiExceptionFilter
]
[
ApiController
]
[
EnableCors
(
"AllowCors"
)]
public
class
MallBaseController
:
BaseController
{
private
MallBaseModule
mallBaseModule
=
new
MallBaseModule
();
public
ApiResult
AddOrUpdate
()
{
var
query
=
JsonConvert
.
DeserializeObject
<
RB_MallBase
>(
RequestParm
.
msg
.
ToString
());
if
(
query
==
null
)
{
return
ApiResult
.
Failed
(
"请传入需要操作的小程序"
);
}
else
{
if
(
query
.
ID
==
0
)
//新增
{
}
bool
result
=
mallBaseModule
.
AddOrUpdate
(
query
);
if
(
result
)
{
return
ApiResult
.
Success
(
"基础信息保存成功"
);
}
else
{
return
ApiResult
.
Failed
(
"基础信息保存失败"
);
}
}
}
}
}
\ No newline at end of file
Mall/Mall.WebApi/Mall.WebApi.csproj
View file @
0400e28d
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
...
...
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