feat: 支持按品牌配置微信登录凭据
This commit is contained in:
1 parent
e75c524343
commit
d0a0eeea8c
23 files changed
+460
-62
No files matched your search
@@ -80,6 +80,7 @@ export interface BrandMethods {
|
||||
appId?: string;
|
||||
apiBaseUrl?: string;
|
||||
privateKey?: string;
|
||||
appSecret?: string;
|
||||
}): Promise<MiniAppReleaseSettings>;
|
||||
}
|
||||
|
||||
|
||||
@@ -115,6 +115,10 @@ export interface MiniAppReleaseSettings {
|
||||
build: Record<string, unknown>;
|
||||
credential: { algorithm: string } | null;
|
||||
hasStoredCredentials: boolean;
|
||||
/** 微信登录 AppSecret 是否已加密保存 */
|
||||
hasStoredAppSecret: boolean;
|
||||
/** AppID 与 AppSecret 均已配置,小程序 wx.login 可换取 OpenID */
|
||||
loginConfigured: boolean;
|
||||
/** 小程序包内编译期写入的请求域名,需与微信后台 request 合法域名一致 */
|
||||
requestDomain?: string | null;
|
||||
/** 构建参数缺失时的原因,非空表示当前无法构建上传 */
|
||||
|
||||
Reference in new issue
Block a user