提交 2f94fdde authored 作者: JarvanMo's avatar JarvanMo

android:if openId is blank,not send it

上级 ac270724
......@@ -11,7 +11,11 @@ internal object FluwxAuthHandler {
val req = SendAuth.Req()
req.scope = call.argument("scope")
req.state = call.argument("state")
req.openId = call.argument("openId")
val openId = call.argument<String?>("openId")
if(!openId.isNullOrBlank()){
req.openId = call.argument("openId")
}
result.success(WXAPiHandler.wxApi?.sendReq(req))
}
......
//
// Created by mo on 2018/8/23.
//
#import <Foundation/Foundation.h>
@interface FluwxWXApiHandler : NSObject @end
\ No newline at end of file
//
// Created by mo on 2018/8/23.
//
#import "FluwxWXApiHandler.h"
@implementation FluwxWXApiHandler {
}
@end
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论