Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
4ed23be4cafcec937483322fedcef330abcc9666
1 parent
e15ffd22
sourceType
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
apps/3party/controllers/question.js
apps/3party/controllers/question.js
View file @
4ed23be
...
...
@@ -44,11 +44,11 @@ exports.submit = (req, res, next) => {
}
if
(
req
.
yoho
.
isApp
)
{
params
.
sourceType
=
'
app
'
;
params
.
sourceType
=
'
APP
'
;
}
else
if
(
req
.
yoho
.
mobile
)
{
params
.
sourceType
=
'
wap
'
;
params
.
sourceType
=
'
H5
'
;
}
else
{
params
.
sourceType
=
'
pc
'
;
params
.
sourceType
=
'
PC
'
;
}
req
.
ctx
(
questionModel
).
submitQuestion
(
params
).
then
(
result
=>
{
...
...
Please
register
or
login
to post a comment