mirror of
https://github.com/rachelos/we-mp-rss.git
synced 2026-09-21 05:44:11 +08:00
11 lines
360 B
Python
11 lines
360 B
Python
|
|
import os
|
|
from core.config import cfg
|
|
print(f"认证方式:Web认证={bool(cfg.get('server.auth_web', False))}")
|
|
if bool(cfg.get("server.auth_web", False)) == True:
|
|
from driver.wx import WX_API
|
|
from driver.wx import Wx as WX_InterFace
|
|
else:
|
|
from driver.wx_api import WeChat_api as WX_API
|
|
from driver.wx_api import WeChatAPI as WX_InterFace
|