|
@@ -185,6 +185,11 @@ export type GetJumpUrlPostBody = {
|
|
|
export type GetJumpUrlPostResponse = {
|
|
|
adJumpLink: string
|
|
|
}
|
|
|
+
|
|
|
+export type WxMpUpdateOpenIdBody = {
|
|
|
+ jsCode: string
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
|
|
|
export default class UserApi {
|
|
@@ -223,5 +228,9 @@ export type GetJumpUrlPostResponse = {
|
|
|
static getJumpUrlPost(options: AxiosRequestConfigFunc<GetJumpUrlPostBody, any>): RequestUtil<GetJumpUrlPostResponse> {
|
|
|
return new RequestUtil<any>('/h5/get/product/jump/url', 'POST' ,options)
|
|
|
}
|
|
|
+
|
|
|
+ static wxUpdateOpenIdGet(options: AxiosRequestConfigFunc<any, WxMpUpdateOpenIdBody>):RequestUtil<any> {
|
|
|
+ return new RequestUtil<any>(`/wxMp/updateOpenId`, 'GET', options)
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
+
|