Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
Overview
Overview
Details
Activity
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
zong
Compass
Commits
f19d96a4
Commit
f19d96a4
authored
Mar 12, 2020
by
biao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
35fe08bc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
小程序文件命名以及接口调用说明.xlsx
doc/小程序文件命名以及接口调用说明.xlsx
+0
-0
接口文档 V1.0.xls
doc/接口文档 V1.0.xls
+0
-0
ajax_get_member_content.php
src/user/if/ajax_get_member_content.php
+5
-11
No files found.
doc/小程序文件命名以及接口调用说明.xlsx
View file @
f19d96a4
No preview for this file type
doc/接口文档 V1.0.xls
View file @
f19d96a4
No preview for this file type
src/user/if/ajax_get_member_content.php
View file @
f19d96a4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
// 获取会员购买内容
// 获取会员购买内容
require_once
(
"../user_include.inc"
);
require_once
(
"../user_include.inc"
);
ErrorLogger
::
doOutput
(
"Compass...ajax_get_
certificates
.php....Start."
,
0
);
ErrorLogger
::
doOutput
(
"Compass...ajax_get_
member_content
.php....Start."
,
0
);
//获取参数
//获取参数
$unionId
=
ParamUtil
::
getRequestString
(
"unionId"
);
$unionId
=
ParamUtil
::
getRequestString
(
"unionId"
);
...
@@ -18,18 +18,12 @@ if(empty($userList)) {
...
@@ -18,18 +18,12 @@ if(empty($userList)) {
responseNG
(
$result
);
responseNG
(
$result
);
}
}
$result
=
array
();
//检索数据库
$param
=
array
();
$param
[
'delete_flg'
]
=
false
;
$certificateList
=
CertificateMst
::
getList
(
$param
,
'display_order'
,
'desc'
);
//接口返回数据
//接口返回数据
$result
[
"
certificateList"
]
=
$certificateList
;
$result
[
"
title"
]
=
"购买中国志愿者会员,公益视频免费得看!"
;
$result
[
"money"
]
=
"200"
;
ErrorLogger
::
doOutput
(
"Compass...ajax_get_certificates.php....End."
,
0
)
;
$result
[
"comment"
]
=
"您的会员费用会直接xxxx"
;
ErrorLogger
::
doOutput
(
"Compass...ajax_get_member_content.php....End."
,
0
);
//返回结果
//返回结果
responseOK
(
$result
);
responseOK
(
$result
);
...
...
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