发布通告功能

This commit is contained in:
13405411873 2025-04-21 13:23:26 +08:00
parent 2f712d125f
commit a6df44f034

26
api/wxApi.js Normal file
View File

@ -0,0 +1,26 @@
import request from '@/utils/request'
// 微信登录授权获取code
export function getCodeUrl(userType) {
return request({
'url': '/wxApi/getCodeUrl?userType=' + userType,
'method': 'get'
})
}
// 微信登录授权获取code
export function getWebAccessTokenAndOpenid(code) {
return request({
'url': '/wxApi/getWebAccessTokenAndOpenid?code=' + code,
'method': 'get'
})
}
// 微信登录授权获取code
export function gzhLogin(data) {
return request({
'url': '/wxApi/gzhLogin',
'method': 'POST',
'data': data
})
}