完成部分接口联调
This commit is contained in:
@@ -1,7 +1,33 @@
|
||||
import http from './http'
|
||||
|
||||
export function drawApi(data, authorization) {
|
||||
return http.post("/api/user/addSurveyed",
|
||||
// 获取code
|
||||
export function authorize(data, authorization) {
|
||||
return http.post("/h5/Oauth/authorize",
|
||||
data,
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
// 获取用户信息
|
||||
export function getUserInfo(data, authorization) {
|
||||
return http.post("/h5/Oauth/getUserInfo",
|
||||
data,
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
// 我的奖品
|
||||
export function getMyPrize(data, authorization) {
|
||||
return http.post("/h5/activity/getMyPrize",
|
||||
data,
|
||||
true,
|
||||
authorization
|
||||
);
|
||||
}
|
||||
|
||||
// 抽奖
|
||||
export function draw(data, authorization) {
|
||||
return http.post("/h5/activity/draw",
|
||||
data,
|
||||
true,
|
||||
authorization
|
||||
|
||||
Reference in New Issue
Block a user