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
17f02105
Commit
17f02105
authored
Aug 21, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
店铺价格设置
parent
275c5845
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
SmallShopsModule.cs
Mall.Module.User/SmallShopsModule.cs
+1
-1
UserModule.cs
Mall.Module.User/UserModule.cs
+1
-1
RB_SmallShops_PriceRepository.cs
Mall.Repository/User/RB_SmallShops_PriceRepository.cs
+4
-0
No files found.
Mall.Module.User/SmallShopsModule.cs
View file @
17f02105
...
...
@@ -1142,7 +1142,7 @@ namespace Mall.Module.User
{
return
false
;
}
var
splist
=
smallShops_PriceRepository
.
GetList
(
new
RB_SmallShops_Price_Extend
()
{
SmallShopsId
=
model
.
Id
,
TenantId
=
userInfo
.
TenantId
,
MallBaseId
=
userInfo
.
MallBaseId
});
var
splist
=
smallShops_PriceRepository
.
GetList
(
new
RB_SmallShops_Price_Extend
()
{
SmallShopsId
=
model
.
Id
,
GoodsId
=
goodsId
,
TenantId
=
userInfo
.
TenantId
,
MallBaseId
=
userInfo
.
MallBaseId
});
if
(
splist
.
Any
())
{
//修改
...
...
Mall.Module.User/UserModule.cs
View file @
17f02105
...
...
@@ -5588,7 +5588,7 @@ namespace Mall.Module.User
int
IsNormalServer
=
Convert
.
ToInt32
(
new
ConfigurationBuilder
().
Add
(
new
JsonConfigurationSource
{
Path
=
"appsettings.json"
}).
Build
().
GetSection
(
"IsNormalServer"
).
Value
);
if
(
IsNormalServer
!=
1
)
{
token
=
"36_
7plNC5YmFK1u5gYfNLO54mfqfF60wdmxHMMzdK1R7Br1hCPAPLP5VZqYj3Iasj1sv1DS4kTlnmHbhxP86NLoaANmHxVZLwC8wGtEn3FZkepvq-bU9nH1laKKM6dgxafaRKEcehQH9F_lSMRwWIIfABAKWW
"
;
token
=
"36_
h7IHGhiGidxjkK2dBvc-H_9EEfB9vkzOWrB0NqY6NDtvEvZm8yAQS7HaeT4qBfNETZBYWxTNr3yiBAGmyZuS6dakDmsRz_HzgflabycgFBpL3vutNhLzul77OCjFAaK3vTqXXbR5hUY5MRXIAAXaAIASSP
"
;
}
if
(
string
.
IsNullOrEmpty
(
token
))
{
...
...
Mall.Repository/User/RB_SmallShops_PriceRepository.cs
View file @
17f02105
...
...
@@ -33,6 +33,10 @@ namespace Mall.Repository.User
{
where
+=
$@" and di.
{
nameof
(
RB_SmallShops_Price_Extend
.
SmallShopsId
)}
=
{
dmodel
.
SmallShopsId
}
"
;
}
if
(
dmodel
.
GoodsId
>
0
)
{
where
+=
$@" and di.
{
nameof
(
RB_SmallShops_Price_Extend
.
GoodsId
)}
=
{
dmodel
.
GoodsId
}
"
;
}
if
(!
string
.
IsNullOrEmpty
(
dmodel
.
SmallShopsIds
))
{
where
+=
$@" and di.
{
nameof
(
RB_SmallShops_Price_Extend
.
SmallShopsId
)}
in(
{
dmodel
.
SmallShopsIds
}
)"
;
}
...
...
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