Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
35182aa0
Commit
35182aa0
authored
Jun 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3d43da31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
api.js
plugin/api.js
+6
-10
No files found.
plugin/api.js
View file @
35182aa0
export
default
{
export
default
{
install
(
Vue
,
options
)
{
install
(
Vue
,
options
)
{
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
Vue
.
prototype
.
host
=
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
// Vue.prototype.host2 = "http://192.168.0.110:8200"
// Vue.prototype.host2 = "https://mallApi.oytour.com"
//Vue.prototype.host2 = "https://localhost:5001"
// Vue.prototype.host2 = "http://192.168.1.5:8088"
Vue
.
prototype
.
host2
=
"https://erpmallapi.oytour.com"
// Vue.prototype.host2 = "http://192.168.20.17:8014"
//Vue.prototype.host3 = "http://192.168.20.24"
Vue
.
prototype
.
host2
=
"http://192.168.20.24:8400"
Vue
.
prototype
.
host3
=
"https://reborn.oytour.com"
// Vue.prototype.host2 = "http://testmall.oytour.com/"
Vue
.
prototype
.
host3
=
"http://reborn.oytour.com"
// Vue.prototype.host3 = "http://192.168.20.24"
Vue
.
prototype
.
request
=
function
(
param
,
success
,
failed
)
{
Vue
.
prototype
.
request
=
function
(
param
,
success
,
failed
)
{
//网络请求
//网络请求
uni
.
request
({
uni
.
request
({
...
...
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