Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
dc5ad450
Commit
dc5ad450
authored
Sep 11, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
星星
parent
b688d37a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
api.js
src/service/api.js
+16
-0
No files found.
src/service/api.js
View file @
dc5ad450
...
@@ -375,6 +375,22 @@ export const postNotifySettingApi = function (json) {
...
@@ -375,6 +375,22 @@ export const postNotifySettingApi = function (json) {
return
Vue
.
prototype
.
$post
(
`/api/client/user/notify/setting`
,
json
)
return
Vue
.
prototype
.
$post
(
`/api/client/user/notify/setting`
,
json
)
};
};
// 用户成长记录添加
export
const
postUserGrowthAddApi
=
function
(
periods_id
,
category_id
,
element_id
,
json
)
{
return
Vue
.
prototype
.
$post
(
`api/client/user/growth/record/
${
periods_id
}
/
${
category_id
}
/
${
element_id
}
`
,
json
)
};
// 用户成长记录列表
export
const
getUserGrowthListApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$fetch
(
`
${
_baseUrl
}
api/client/user/growth/record/list`
)
};
//
const
getUserGrowthRecordUrl
=
`
${
_baseUrl
}
api/client/growth/record/`
export
const
getUserGrowthRecordApi
=
function
(
periods_id
,
category_id
,
element_id
)
{
return
Vue
.
prototype
.
$fetch
(
`
${
getUserGrowthRecordUrl
}${
periods_id
}
/
${
category_id
}
/
${
element_id
}
`
)
};
// 支付
// 支付
export
const
postPayBillApi
=
function
(
json
)
{
export
const
postPayBillApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$post
(
`/api/client/bill/create`
,
json
)
return
Vue
.
prototype
.
$post
(
`/api/client/bill/create`
,
json
)
...
...
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