Commit 38fa81e4 authored by hewenhao's avatar hewenhao

feat: bind wechat type

parent 65afed47
......@@ -119,7 +119,7 @@ function invokeNativeMethod<T = any, P = any>(arg: { type: string; data?: P }):
* 微信登录
*/
export function bindWechat() {
return invokeNativeMethod<{ code: string }>({ type: "bindWechat" });
return invokeNativeMethod<{ code: string; userId: string }>({ type: "bindWechat" });
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment