You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
287 lines
7.0 KiB
287 lines
7.0 KiB
3 years ago
|
"use strict";
|
||
|
var utils_request = require("../utils/request.js");
|
||
|
var api_config = require("./config.js");
|
||
|
function login(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progressionLogin/logins`,
|
||
|
method: "post",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function register(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progressionLogin/register`,
|
||
|
method: "post",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function getTencent(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progressionLogin/getTencent`,
|
||
|
method: "post",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function getVerify(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progressionLogin/getDynamic`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function forgetPassword(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progressionLogin/forgetPassword`,
|
||
|
method: "PUT",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressionslideshow(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/slideshow`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressionclassification(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/classification`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressionnewWorks(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/newWorks`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressionslideshowDetails(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/slideshowDetails`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressioninvitation(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/invitation`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function controllerdetails(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/detailsColl`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticisminvite(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/invite`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismorder(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/order`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismmycollection(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/mycollection`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismsendDemoQueue(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/sendDemoQueue`,
|
||
|
method: "post",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function paypayreload(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/pay/payreload?id=${data.id}`,
|
||
|
method: "post",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function paypayResult(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/pay/payResult?id=${data.id}&orderStatus=${data.orderStatus}`,
|
||
|
method: "post",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function paypurchase(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/purchase`,
|
||
|
method: "post",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function paypayway(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/pay/payway`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismdetails(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/details`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismmaterial(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/material`,
|
||
|
method: "put",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismnotAutonym(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/notAutonym`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismmydetails(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/mydetails`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function progressioncontactUs(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/contactUs`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressionUserAgreement(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/UserAgreement`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function progressionPrivacy(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progression/Privacy`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function criticismgetInviteCodePoster(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/getInviteCodePoster`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function captchaImage(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/open/progressionLogin/captchaImage`,
|
||
|
method: "get",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
function mycollectionBox(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/mycollectionBox`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function criticismopenBox(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/openBox`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function donation(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/donation`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function mygift(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/mygift`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
function Regifts(data) {
|
||
|
return utils_request.request({
|
||
|
url: `${api_config.host}/api/criticism/Regifts`,
|
||
|
method: "get",
|
||
|
data,
|
||
|
isfa: true
|
||
|
});
|
||
|
}
|
||
|
exports.Regifts = Regifts;
|
||
|
exports.captchaImage = captchaImage;
|
||
|
exports.controllerdetails = controllerdetails;
|
||
|
exports.criticismdetails = criticismdetails;
|
||
|
exports.criticismgetInviteCodePoster = criticismgetInviteCodePoster;
|
||
|
exports.criticisminvite = criticisminvite;
|
||
|
exports.criticismmaterial = criticismmaterial;
|
||
|
exports.criticismmycollection = criticismmycollection;
|
||
|
exports.criticismmydetails = criticismmydetails;
|
||
|
exports.criticismnotAutonym = criticismnotAutonym;
|
||
|
exports.criticismopenBox = criticismopenBox;
|
||
|
exports.criticismorder = criticismorder;
|
||
|
exports.criticismsendDemoQueue = criticismsendDemoQueue;
|
||
|
exports.donation = donation;
|
||
|
exports.forgetPassword = forgetPassword;
|
||
|
exports.getTencent = getTencent;
|
||
|
exports.getVerify = getVerify;
|
||
|
exports.login = login;
|
||
|
exports.mycollectionBox = mycollectionBox;
|
||
|
exports.mygift = mygift;
|
||
|
exports.paypayResult = paypayResult;
|
||
|
exports.paypayreload = paypayreload;
|
||
|
exports.paypayway = paypayway;
|
||
|
exports.paypurchase = paypurchase;
|
||
|
exports.progressionPrivacy = progressionPrivacy;
|
||
|
exports.progressionUserAgreement = progressionUserAgreement;
|
||
|
exports.progressionclassification = progressionclassification;
|
||
|
exports.progressioncontactUs = progressioncontactUs;
|
||
|
exports.progressioninvitation = progressioninvitation;
|
||
|
exports.progressionnewWorks = progressionnewWorks;
|
||
|
exports.progressionslideshow = progressionslideshow;
|
||
|
exports.progressionslideshowDetails = progressionslideshowDetails;
|
||
|
exports.register = register;
|