Browse Source

短信参数非必填

dev
liujiangyong 1 year ago
parent
commit
e82ddb016c
  1. 5
      api/config.js

5
api/config.js

@ -46,8 +46,9 @@ const ZHIDIAO_URL = process.env.ZHIDIAO_URL || flags.zhidiaoUrl || 'http://61.13
if ( if (
!FS_UNIAPP_DB || !FS_UNIAPP_DB ||
!YINGSHI_KEY || !YINGSHI_SECRET || !YINGSHI_KEY || !YINGSHI_SECRET
!SMS_KEY || !SMS_SECRET) { // || !SMS_KEY || !SMS_SECRET
) {
console.log('缺少启动参数,异常退出'); console.log('缺少启动参数,异常退出');
args.showHelp(); args.showHelp();
process.exit(-1); process.exit(-1);

Loading…
Cancel
Save