|
@@ -54,7 +54,7 @@ module.exports = appInfo => {
|
|
|
// 服务器发布路径
|
|
|
config.baseUrl = 'http://free.liaoningdoupo.com';
|
|
|
// 认证回调地址
|
|
|
- config.authUrl = '/api/quanqi/auth';
|
|
|
+ config.authUrl = "/api/servicetest/auth";
|
|
|
// 回调地址
|
|
|
config.redirect_uri = `${config.baseUrl}/weixin`;
|
|
|
config.redirect_uri_doctor = `${config.baseUrl}/patient/manage`;
|
|
@@ -93,7 +93,7 @@ module.exports = appInfo => {
|
|
|
|
|
|
// mongoose config
|
|
|
config.mongoose = {
|
|
|
- url: 'mongodb://127.0.0.1:27017/huanqi',
|
|
|
+ url: "mongodb://127.0.0.1:27017/servicetest",
|
|
|
options: {
|
|
|
// user: 'admin',
|
|
|
// pass: 'admin',
|
|
@@ -113,8 +113,8 @@ module.exports = appInfo => {
|
|
|
// // JWT config
|
|
|
config.jwt = {
|
|
|
...jwt,
|
|
|
- expiresIn: '1d',
|
|
|
- issuer: 'huanqi',
|
|
|
+ expiresIn: "1d",
|
|
|
+ issuer: "servicetest",
|
|
|
};
|
|
|
|
|
|
return {
|