http->https

This commit is contained in:
“wanyongkang”
2024-03-19 15:51:33 +08:00
parent 47822e4c86
commit d64a7094ff
2 changed files with 3 additions and 3 deletions

View File

@@ -4,10 +4,10 @@
const devUrlNew = 'http://localhost:5000/api/' const devUrlNew = 'http://localhost:5000/api/'
const testUrlNew = 'http://localhost:5000/api/' const testUrlNew = 'http://localhost:5000/api/'
const prodUrlNew = 'http://www.juip.com/api/'// "http://api.yk.hncore.net/api/"/"http://hapi.hncore.net/api" const prodUrlNew = 'https://www.juip.com/api/'// "http://api.yk.hncore.net/api/"/"http://hapi.hncore.net/api"
const devPhpUrlNew = 'http://juip.wyk/' const devPhpUrlNew = 'http://juip.wyk/'
const prodPhpUrlNew = 'http://php-api.juip.com/' const prodPhpUrlNew = 'https://php-api.juip.com/'
var baseURL = devUrlNew var baseURL = devUrlNew
var phpURL = devPhpUrlNew var phpURL = devPhpUrlNew

View File

@@ -347,7 +347,7 @@ router.beforeEach((to, from, next) => {
if(userInfo != null){ if(userInfo != null){
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: 'http://php-api.juip.com/api/Allow/urlCheck', url: 'https://php-api.juip.com/api/Allow/urlCheck',
dataType: "json", dataType: "json",
contentType: "application/json", contentType: "application/json",
data: {'url':to.fullPath,'id':userInfo.Manager.ID}, data: {'url':to.fullPath,'id':userInfo.Manager.ID},