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
bbd5e228
Commit
bbd5e228
authored
May 28, 2020
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
e7427bef
723bca12
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+9
-1
ApiExceptionFilterAttribute.cs
Mall.WebApi/Filter/ApiExceptionFilterAttribute.cs
+2
-2
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
bbd5e228
...
@@ -1896,22 +1896,30 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1896,22 +1896,30 @@ namespace Mall.Model.Extend.MarketingCenter
public
class
quicknavDetailsItem
public
class
quicknavDetailsItem
{
{
public
bool
opened
{
get
;
set
;
}
public
bool
opened
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
public
string
number
{
get
;
set
;
}
public
string
number
{
get
;
set
;
}
public
string
appId
{
get
;
set
;
}
public
string
appId
{
get
;
set
;
}
public
string
page
{
get
;
set
;
}
public
string
page
{
get
;
set
;
}
public
string
address
{
get
;
set
;
}
public
string
address
{
get
;
set
;
}
public
string
location
{
get
;
set
;
}
public
string
location
{
get
;
set
;
}
public
string
open_type
{
get
;
set
;
}
public
string
open_type
{
get
;
set
;
}
public
string
link_url
{
get
;
set
;
}
public
string
link_url
{
get
;
set
;
}
public
string
key
{
get
;
set
;
}
public
string
key
{
get
;
set
;
}
public
string
@params
{
get
;
set
;
}
//
public string @params { get; set; }
}
}
...
...
Mall.WebApi/Filter/ApiExceptionFilterAttribute.cs
View file @
bbd5e228
...
@@ -33,10 +33,10 @@ namespace Mall.WebApi.Filter
...
@@ -33,10 +33,10 @@ namespace Mall.WebApi.Filter
//记录错误日志
//记录错误日志
if
(
context
.
HttpContext
.
Items
[
GlobalKey
.
UserPostInfo
]
!=
null
)
if
(
context
.
HttpContext
.
Items
[
GlobalKey
.
UserPostInfo
]
!=
null
)
{
{
LogHelper
.
Error
(
$"InvokeServiceMethod请求地址:
{
Config
.
GetFilePath
(
context
.
HttpContext
.
Request
.
GetAbsoluteUri
())}
,请求参数:
{
JsonConvert
.
SerializeObject
(
context
.
HttpContext
.
Items
[
GlobalKey
.
UserPostInfo
].
ToString
())}
"
,
context
.
Exception
);
LogHelper
.
Error
(
$"
ApiExceptionFilterAttribute_
InvokeServiceMethod请求地址:
{
Config
.
GetFilePath
(
context
.
HttpContext
.
Request
.
GetAbsoluteUri
())}
,请求参数:
{
JsonConvert
.
SerializeObject
(
context
.
HttpContext
.
Items
[
GlobalKey
.
UserPostInfo
].
ToString
())}
"
,
context
.
Exception
);
}
}
else
{
else
{
LogHelper
.
Error
(
$"InvokeServiceMethod请求地址:
{
Config
.
GetFilePath
(
context
.
HttpContext
.
Request
.
GetAbsoluteUri
())}
"
,
context
.
Exception
);
LogHelper
.
Error
(
$"
ApiExceptionFilterAttribute_
InvokeServiceMethod请求地址:
{
Config
.
GetFilePath
(
context
.
HttpContext
.
Request
.
GetAbsoluteUri
())}
"
,
context
.
Exception
);
}
}
var
robj
=
new
ApiResult
()
var
robj
=
new
ApiResult
()
...
...
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