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
29e0f1b4
Commit
29e0f1b4
authored
Sep 03, 2021
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
dce20310
71f15f2e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
213 additions
and
199 deletions
+213
-199
CustomFormModule.cs
Mall.Module.TradePavilion/CustomFormModule.cs
+1
-1
AppletMiaiController.cs
Mall.WebApi/Controllers/Miai/AppletMiaiController.cs
+135
-128
MiaiController.cs
Mall.WebApi/Controllers/Miai/MiaiController.cs
+75
-68
AppletGoodsController.cs
Mall.WebApi/Controllers/Product/AppletGoodsController.cs
+2
-2
No files found.
Mall.Module.TradePavilion/CustomFormModule.cs
View file @
29e0f1b4
...
...
@@ -260,7 +260,7 @@ namespace Mall.Module.TradePavilion
};
if
(
selectItem
.
IsMultiple
)
{
List
<
string
>
valueList
=
JsonHelper
.
DeserializeObject
<
List
<
string
>>(
dropdownObj
.
GetStringValue
(
"OptionValue"
));
List
<
int
>
valueList
=
Common
.
ConvertHelper
.
StringToList
(
dropdownObj
.
GetStringValue
(
"OptionValue"
).
Split
(
','
));
if
(
valueList
!=
null
&&
valueList
.
Count
>
0
)
{
selectItem
.
OptionValue
=
string
.
Join
(
","
,
valueList
);
...
...
Mall.WebApi/Controllers/Miai/AppletMiaiController.cs
View file @
29e0f1b4
...
...
@@ -1291,6 +1291,8 @@ namespace Mall.WebApi.Controllers.MallBase
};
}
if
(
userId
>
0
)
{
var
oldUserInfo
=
miaiModule
.
GetMemberUserInfo
(
userId
);
var
oldBaseInfo
=
miaiModule
.
GetBaseInfoModel
(
new
RB_MiAi_BaseInfo_Extend
{
UserId
=
userId
,
TenantId
=
RequestParm
.
TenantId
,
MallBaseId
=
RequestParm
.
MallBaseId
});
...
...
@@ -1444,6 +1446,11 @@ namespace Mall.WebApi.Controllers.MallBase
return
ApiResult
.
Failed
(
"用户信息不存在"
);
}
}
else
{
return
ApiResult
.
Failed
(
"用户信息不存在"
);
}
}
...
...
Mall.WebApi/Controllers/Miai/MiaiController.cs
View file @
29e0f1b4
...
...
@@ -657,6 +657,8 @@ namespace Mall.WebApi.Controllers.MallBase
JObject
parm
=
JObject
.
Parse
(
parms
.
msg
.
ToString
());
// var userInfo = AppletUserInfo;
int
userId
=
parm
.
GetInt
(
"UserId"
);
if
(
userId
>
0
)
{
var
oldUserInfo
=
miaiModule
.
GetMemberUserInfo
(
userId
);
var
oldBaseInfo
=
miaiModule
.
GetBaseInfoModel
(
new
RB_MiAi_BaseInfo_Extend
{
UserId
=
userId
,
TenantId
=
UserInfo
.
TenantId
,
MallBaseId
=
UserInfo
.
MallBaseId
});
if
(
oldBaseInfo
!=
null
&&
oldBaseInfo
.
Id
>
0
)
...
...
@@ -734,6 +736,11 @@ namespace Mall.WebApi.Controllers.MallBase
return
ApiResult
.
Failed
(
"用户暂未认证"
);
}
}
else
{
return
ApiResult
.
Failed
(
"用户信息不存在!"
);
}
}
[
HttpPost
]
...
...
Mall.WebApi/Controllers/Product/AppletGoodsController.cs
View file @
29e0f1b4
...
...
@@ -262,8 +262,8 @@ namespace Mall.WebApi.Controllers.MallBase
{
attr_group_name
=
smodel
.
Name
,
attr_group_id
=
smodel
.
Sort
,
attr_id
=
svmodel
.
Id
,
attr_name
=
svmodel
.
Name
attr_id
=
svmodel
?.
Id
??
0
,
attr_name
=
svmodel
?.
Name
??
""
});
}
decimal
price_member
=
item
.
SellingPrice
??
0
;
//未设会员价格的话 就为销售价格
...
...
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