Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
4770176b
Commit
4770176b
authored
Oct 23, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version V1
parent
52d9157e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
brand.js
api/brand.js
+1
-1
home.js
api/home.js
+1
-1
integral.js
api/integral.js
+1
-1
request.js
api/request.js
+2
-2
user.js
api/user.js
+2
-2
No files found.
api/brand.js
View file @
4770176b
...
...
@@ -4,4 +4,4 @@ const {
}
=
requestModule
;
export
const
fetchBrandJSON
=
()
=>
api
.
get
(
'/c/front/content'
,{
type
:
'brand'
});
\ No newline at end of file
export
const
fetchBrandJSON
=
()
=>
api
.
get
(
'/c/front/content'
,{
type
:
'brand_V1'
});
\ No newline at end of file
api/home.js
View file @
4770176b
...
...
@@ -9,4 +9,4 @@ const {
*/
export
const
fetchHomeInfo
=
()
=>
api
.
get
(
'/c/user/index'
);
export
const
fetchHomeJSON
=
()
=>
api
.
get
(
'/c/front/content'
,{
type
:
'home'
});
\ No newline at end of file
export
const
fetchHomeJSON
=
()
=>
api
.
get
(
'/c/front/content'
,{
type
:
'home_V1'
});
\ No newline at end of file
api/integral.js
View file @
4770176b
...
...
@@ -8,7 +8,7 @@ const {
* @returns
*/
export
const
fetchIntegralJSON
=
()
=>
api
.
get
(
'/c/front/content'
,{
type
:
'integral'
});
export
const
fetchIntegralJSON
=
()
=>
api
.
get
(
'/c/front/content'
,{
type
:
'integral
_V1
'
});
/**
* 获取生日礼接口
...
...
api/request.js
View file @
4770176b
...
...
@@ -17,8 +17,8 @@ const {
// 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.230.108:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
const
baseUrl
=
"https://momclub-test.feihe.com/pmall"
;
//测试环境2
//
const baseUrl = "https://momclub.feihe.com/pmall";//生产环境
//
const baseUrl = "https://momclub-test.feihe.com/pmall";//测试环境2
const
baseUrl
=
"https://momclub.feihe.com/pmall"
;
//生产环境
// const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
// const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
...
...
api/user.js
View file @
4770176b
...
...
@@ -46,7 +46,7 @@ export const fetchMemberInfo = () => api.get('/c/user/memberInfo');
*/
export
const
updateBabyInfo
=
(
data
)
=>
api
.
post
(
'/c/user/saveBaby'
,
data
);
export
const
fetchUserJSON
=
()
=>
api
.
get
(
'/c/front/content'
,
{
type
:
'my'
});
export
const
fetchUserJSON
=
()
=>
api
.
get
(
'/c/front/content'
,
{
type
:
'my_V1'
});
/** 查询用户是否参与生育补贴和鹤礼2.0*/
export
const
checkParticipation
=
(
data
)
=>
api
.
get
(
'/c/fertility/index'
,
data
);
\ No newline at end of file
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