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
b22dc6fe
Commit
b22dc6fe
authored
Jun 12, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3a352165
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+2
-1
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+2
-1
RB_Member_IntegralRepository.cs
Mall.Repository/User/RB_Member_IntegralRepository.cs
+3
-0
Startup.cs
Mall.WebApi/Startup.cs
+7
-6
No files found.
Mall.Module.Product/OrderModule.cs
View file @
b22dc6fe
...
...
@@ -972,7 +972,7 @@ namespace Mall.Module.Product
}
//积分
Model
.
Entity
.
MarketingCenter
.
RB_Integral_Settings
integralModel
=
new
Model
.
Entity
.
MarketingCenter
.
RB_Integral_Settings
();
if
(
demodel
.
Use_Integral
==
1
&&
umodel
.
Integral
>
0
)
if
(
umodel
.
Integral
>
0
)
{
integralModel
=
integral_SettingsRepository
.
GetIntegralSettingsList
(
new
Model
.
Entity
.
MarketingCenter
.
RB_Integral_Settings
()
{
TenantId
=
demodel
.
TenantId
,
MallBaseId
=
demodel
.
MallBaseId
}).
FirstOrDefault
();
}
...
...
@@ -5922,6 +5922,7 @@ namespace Mall.Module.Product
FinishTime
=
model
.
FinishTime
.
HasValue
?
model
.
FinishTime
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
CancelTime
=
model
.
CancelTime
.
HasValue
?
model
.
CancelTime
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
,
model
.
Remark
,
model
.
BuyerMessage
,
model
.
PreferPrice
,
model
.
Income
,
model
.
CouponMoney
,
...
...
Mall.Module.Product/ProductModule.cs
View file @
b22dc6fe
...
...
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using
System.Linq
;
using
System.Text
;
using
System.Text.RegularExpressions
;
using
Mall.Common
;
using
Mall.Common.Plugin
;
using
Mall.Model.Entity.Product
;
using
Mall.Model.Entity.User
;
...
...
@@ -990,7 +991,7 @@ namespace Mall.Module.Product
string
path_server
=
basepath
+
"\\upfile\\temporary\\"
+
pathName
;
var
Robj
=
HttpHelper
.
HttpPostForGetWXQRCodePath
(
GetImageUrl
,
JsonHelper
.
Serialize
(
postData
),
path_server
);
//var Robj1 = HttpHelper.HttpPost(GetImageUrl, JsonHelper.Serialize(postData), "");
return
Robj
;
return
"/upfile/temporary/"
+
pathName
;
}
return
""
;
}
...
...
Mall.Repository/User/RB_Member_IntegralRepository.cs
View file @
b22dc6fe
...
...
@@ -126,6 +126,9 @@ namespace Mall.Repository.User
{
builder
.
Append
(
$" AND a.
{
nameof
(
RB_Member_Integral_Extend
.
MallBaseId
)}
=
{
query
.
MallBaseId
}
"
);
}
if
(
query
.
UserId
>
0
)
{
builder
.
Append
(
$" AND a.
{
nameof
(
RB_Member_Integral_Extend
.
UserId
)}
=
{
query
.
UserId
}
"
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
query
.
MemberName
))
{
builder
.
Append
(
$" AND b.
{
nameof
(
RB_Member_User
.
Name
)}
like '%
{
query
.
MemberName
}
%'"
);
...
...
Mall.WebApi/Startup.cs
View file @
b22dc6fe
using
System
;
using
System.Collections.Generic
;
using
System.IO
;
using
System.Linq
;
using
System.Text.Encodings.Web
;
using
System.Text.Unicode
;
...
...
@@ -97,12 +98,12 @@ namespace Mall.WebApi
// quartz.Stop(); //网站停止完成执行
//});
//
app.UseStaticFiles(new StaticFileOptions
//
{
//
FileProvider = new Microsoft.Extensions.FileProviders.PhysicalFileProvider(
// Path.Combine(Directory.GetCurrentDirectory(), "ExportF
ile")),
// RequestPath = "/ExportF
ile"
//
});
app
.
UseStaticFiles
(
new
StaticFileOptions
{
FileProvider
=
new
Microsoft
.
Extensions
.
FileProviders
.
PhysicalFileProvider
(
Path
.
Combine
(
Directory
.
GetCurrentDirectory
(),
"upf
ile"
)),
RequestPath
=
"/upf
ile"
});
}
}
}
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