mirror of
https://github.com/wu736139669/vczero.github.io.git
synced 2026-08-05 06:23:38 +00:00
change server_url
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
|
||||||
|
config.sample.json
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directory
|
||||||
|
# Commenting this out is preferred by some people, see
|
||||||
|
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
# Users Environment Variables
|
||||||
|
.lock-wscript
|
||||||
+22
-20
@@ -50,6 +50,7 @@
|
|||||||
|
|
||||||
})(window);;
|
})(window);;
|
||||||
var app = angular.module('app', ['ui.router', 'ngCookies']);
|
var app = angular.module('app', ['ui.router', 'ngCookies']);
|
||||||
|
var SERVER_BASE_URL = 'http://123.57.39.116:6547/';
|
||||||
|
|
||||||
//初始化配置
|
//初始化配置
|
||||||
app.run(['$rootScope', function($rootScope) {
|
app.run(['$rootScope', function($rootScope) {
|
||||||
@@ -60,28 +61,29 @@ app.run(['$rootScope', function($rootScope) {
|
|||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//调用的服务列表
|
//调用的服务列表
|
||||||
app.constant('ServiceConfig', {
|
app.constant('ServiceConfig', {
|
||||||
wei_content: 'http://127.0.0.1:3000/wei/get',
|
wei_content: SERVER_BASE_URL + 'wei/get',
|
||||||
wei_zan: 'http://127.0.0.1:3000/wei/zan',
|
wei_zan: SERVER_BASE_URL + 'wei/zan',
|
||||||
wei_comment: 'http://127.0.0.1:3000/wei/comment',
|
wei_comment: SERVER_BASE_URL + 'wei/comment',
|
||||||
wei_create: 'http://127.0.0.1:3000/wei/create',
|
wei_create: SERVER_BASE_URL + 'wei/create',
|
||||||
user_get: 'http://127.0.0.1:3000/user/get',
|
user_get: SERVER_BASE_URL + 'user/get',
|
||||||
user_login: 'http://127.0.0.1:3000/user/login',
|
user_login: SERVER_BASE_URL + 'user/login',
|
||||||
user_register: 'http://127.0.0.1:3000/user/register',
|
user_register: SERVER_BASE_URL + 'user/register',
|
||||||
user_common: 'http://127.0.0.1:3000/user/getCommon',
|
user_common: SERVER_BASE_URL + 'user/getCommon',
|
||||||
user_ben: 'http://127.0.0.1:3000/user/getBen',
|
user_ben: SERVER_BASE_URL + 'user/getBen',
|
||||||
user_self: 'http://127.0.0.1:3000/user/getSelf',
|
user_self: SERVER_BASE_URL + 'user/getSelf',
|
||||||
user_common_update: 'http://127.0.0.1:3000/user/updateCommon',
|
user_common_update: SERVER_BASE_URL + 'user/updateCommon',
|
||||||
user_ben_update: 'http://127.0.0.1:3000/user/updateBen',
|
user_ben_update: SERVER_BASE_URL + 'user/updateBen',
|
||||||
user_ben_get_name: 'http://127.0.0.1:3000/user/singleBen/name',
|
user_ben_get_name: SERVER_BASE_URL + 'user/singleBen/name',
|
||||||
user_common_get_nickname: 'http://127.0.0.1:3000/user/getCommon/name',
|
user_common_get_nickname: SERVER_BASE_URL + 'user/getCommon/name',
|
||||||
user_ben_get_realname: 'http://127.0.0.1:3000/user/singleBen/name',
|
user_ben_get_realname: SERVER_BASE_URL + 'user/singleBen/name',
|
||||||
wei_get_token_page: 'http://127.0.0.1:3000/wei/getByToken',
|
wei_get_token_page: SERVER_BASE_URL + 'wei/getByToken',
|
||||||
wei_delete: 'http://127.0.0.1:3000/wei/delete',
|
wei_delete: SERVER_BASE_URL + 'wei/delete',
|
||||||
user_update_password: 'http://127.0.0.1:3000/user/updatePassword',
|
user_update_password: SERVER_BASE_URL + 'user/updatePassword',
|
||||||
article_get: 'http://127.0.0.1:3000/article/get',
|
article_get: SERVER_BASE_URL + 'article/get',
|
||||||
article_detail: 'http://127.0.0.1:3000/article/get/id',
|
article_detail: SERVER_BASE_URL + 'article/get/id',
|
||||||
amap_url: 'http://webapi.amap.com/maps?v=1.3&key=ad925c5003760094713775d64748d872&callback=init'
|
amap_url: 'http://webapi.amap.com/maps?v=1.3&key=ad925c5003760094713775d64748d872&callback=init'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user