Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d95f7571
authored
Sep 24, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
ecc7aa04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
pages/person/invitation/index.js
pages/person/invitation/index.js
View file @
d95f7571
...
...
@@ -67,18 +67,22 @@ Page({
*/
onShareAppMessage
:
function
(
res
)
{
http
.
getData
(
apis
.
invitesAdd
,
'GET'
,
{
user_id
:
this
.
data
.
invitesInfo
.
user_id
},
(
res
)
=>
{
if
(
res
.
errcode
===
0
)
{
}
},
false
,
false
,
true
);
return
{
title
:
'邀请好友'
,
path
:
"/pages/person/invitation/index"
success
:
function
(
res
)
{
if
(
res
.
errMsg
==
'shareAppMessage:ok'
)
{
http
.
getData
(
apis
.
invitesAdd
,
'GET'
,
{
user_id
:
this
.
data
.
invitesInfo
.
user_id
},
(
res
)
=>
{
if
(
res
.
errcode
===
0
)
{
}
},
false
,
false
,
true
);
}
},
path
:
"/pages/person/invitation/index"
,
}
},
toUrl
:
function
(
e
)
{
if
(
this
.
data
.
invitesInfo
.
amount
<=
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