Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
c75e8d9d
Commit
c75e8d9d
authored
Dec 17, 2015
by
strong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'newfunc_1214_honorarytitle_manage' into SANDBOX
parents
2fa28246
a9b282c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
forumModerator.js
app/controllers/mobile/forumModerator.js
+2
-4
No files found.
app/controllers/mobile/forumModerator.js
View file @
c75e8d9d
...
@@ -42,15 +42,13 @@ function moderatorOperateLog(forumUser,thread,type){
...
@@ -42,15 +42,13 @@ function moderatorOperateLog(forumUser,thread,type){
function
addIntegral
(
thread
){
function
addIntegral
(
thread
){
var
openID
=
thread
.
from
.
uid
;
var
openID
=
thread
.
from
.
uid
;
var
tid
=
thread
.
_id
;
var
userID
=
thread
.
from
.
_id
;
var
ent_code
=
thread
.
ent_code
;
var
ent_code
=
thread
.
ent_code
;
forumLimitOperationService
.
checkLimitOperationProhibitionAddIntegral
(
tid
,
function
(
err
,
flag
){
forumLimitOperationService
.
checkLimitOperationProhibitionAddIntegral
(
userID
,
function
(
err
,
flag
){
if
(
!
err
&&
!
flag
){
if
(
!
err
&&
!
flag
){
//获取mid
//获取mid
console
.
log
(
API_ADDRESS
);
request
.
get
({
url
:
API_ADDRESS
+
'/v1.0/internal/member/getMidbyOpenID?entCode='
request
.
get
({
url
:
API_ADDRESS
+
'/v1.0/internal/member/getMidbyOpenID?entCode='
+
ent_code
+
'&openID='
+
openID
,
json
:
true
},
function
(
e
,
r
,
res
){
+
ent_code
+
'&openID='
+
openID
,
json
:
true
},
function
(
e
,
r
,
res
){
console
.
log
(
res
);
if
(
res
&&
res
.
data
){
if
(
res
&&
res
.
data
){
httpService
.
sendRequest
(
ent_code
,
res
.
data
,
'thread_recomment'
);
httpService
.
sendRequest
(
ent_code
,
res
.
data
,
'thread_recomment'
);
}
}
...
...
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