|
|
|
|
@ -55905,10 +55905,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
;// CONCATENATED MODULE: ./src/utils/env/dev.ts
|
|
|
|
|
var DEV = {
|
|
|
|
|
// PROXY_SERVER: 'https://test-data.educoder.net',
|
|
|
|
|
PROXY_SERVER: 'http://172.16.100.126/VirtualCourse/course/c69a4f7ee237f1cea82b1321ad120c43',
|
|
|
|
|
API_SERVER: "/VirtualCourse/course/c69a4f7ee237f1cea82b1321ad120c43",
|
|
|
|
|
PROXY_SERVER: 'http://139.196.139.129:8002',
|
|
|
|
|
API_SERVER: "/VirtualCourse/course/:productId/course/c69a4f7ee237f1cea82b1321ad120c43",
|
|
|
|
|
REPORT_SERVER: 'http://192.168.1.57:3001',
|
|
|
|
|
IMG_SERVER: "/VirtualCourse/course/c69a4f7ee237f1cea82b1321ad120c43",
|
|
|
|
|
IMG_SERVER: "/VirtualCourse/course/:productId/course/c69a4f7ee237f1cea82b1321ad120c43",
|
|
|
|
|
FORGE: 'https://code.educoder.net/',
|
|
|
|
|
SSH_SERVER: 'wss://webssh.educoder.net',
|
|
|
|
|
SSH_Slice: 'https://testfu.educoder.net',
|
|
|
|
|
@ -55919,6 +55919,8 @@ var DEV = {
|
|
|
|
|
QQLoginCB: encodeURIComponent('https://test-newweb.educoder.net')
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var dev = ((/* unused pure expression or super */ null && (DEV)));
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/util.tsx
|
|
|
|
|
var util = __webpack_require__(23756);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/utils/env.ts
|
|
|
|
|
/*
|
|
|
|
|
* @Author: your name
|
|
|
|
|
@ -55929,6 +55931,7 @@ var DEV = {
|
|
|
|
|
* @FilePath: /ppte5yg23/src/utils/env.ts
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var GlobalConfig = {
|
|
|
|
|
local: {
|
|
|
|
|
API_SERVER: 'http://localhost:3000',
|
|
|
|
|
@ -56071,8 +56074,8 @@ var GlobalConfig = {
|
|
|
|
|
QQLoginCB: encodeURIComponent("https://test-newweb.educoder.net")
|
|
|
|
|
},
|
|
|
|
|
build: {
|
|
|
|
|
API_SERVER: "/VirtualCourse/course/c69a4f7ee237f1cea82b1321ad120c43",
|
|
|
|
|
IMG_SERVER: "/VirtualCourse/course/c69a4f7ee237f1cea82b1321ad120c43",
|
|
|
|
|
API_SERVER: "",
|
|
|
|
|
IMG_SERVER: "/VirtualCourse/course/".concat(util/* productId */.rU),
|
|
|
|
|
REPORT_SERVER: "http://192.168.1.57:3001",
|
|
|
|
|
FORGE: "https://forge.educoder.net/",
|
|
|
|
|
SSH_SERVER: "wss://webssh.educoder.net",
|
|
|
|
|
@ -56404,6 +56407,9 @@ function request(url, option, flag, ismin) {
|
|
|
|
|
newOptions.headers["_method"] = newOptions.method;
|
|
|
|
|
newOptions.headers["X-HTTP-Method-Override"] = newOptions.method;
|
|
|
|
|
if (newOptions.method !== "GET") newOptions.method = "POST";
|
|
|
|
|
if (!url.startsWith("http")) {
|
|
|
|
|
url = "/VirtualCourse/course/".concat(_utils_util__WEBPACK_IMPORTED_MODULE_8__/* .productId */ .rU).concat(url);
|
|
|
|
|
}
|
|
|
|
|
return fetch(prefixUrl + url, newOptions).then(function (response) {
|
|
|
|
|
return checkStatus(response, _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z.API_SERVER + url
|
|
|
|
|
@ -56756,6 +56762,7 @@ function del(url, params) {
|
|
|
|
|
/* harmony export */ qZ: function() { return /* binding */ arrTrans; },
|
|
|
|
|
/* harmony export */ qd: function() { return /* binding */ DayHalfPastOne; },
|
|
|
|
|
/* harmony export */ rK: function() { return /* binding */ HomeWorkShixunListStatus; },
|
|
|
|
|
/* harmony export */ rU: function() { return /* binding */ productId; },
|
|
|
|
|
/* harmony export */ rz: function() { return /* binding */ moveArray; },
|
|
|
|
|
/* harmony export */ tP: function() { return /* binding */ cutFileName; },
|
|
|
|
|
/* harmony export */ tw: function() { return /* binding */ getTwoDecimalPlaces; },
|
|
|
|
|
@ -56767,7 +56774,7 @@ function del(url, params) {
|
|
|
|
|
/* harmony export */ y3: function() { return /* binding */ getBase64; },
|
|
|
|
|
/* harmony export */ yC: function() { return /* binding */ compareVersion; }
|
|
|
|
|
/* harmony export */ });
|
|
|
|
|
/* unused harmony exports productId, parseParams, StatusTags, WorkStatus, timeformat, delCookie, saveAs, isFirefox, isChromeOrFirefox, formatMoney, openNewWindows, formatTextMiddleIntercept, isEmpty, middleEllipsis, getUrlToken, checkDisabledExam, messageInfo, base64ToBlob, trackEventCustom */
|
|
|
|
|
/* unused harmony exports parseParams, StatusTags, WorkStatus, timeformat, delCookie, saveAs, isFirefox, isChromeOrFirefox, formatMoney, openNewWindows, formatTextMiddleIntercept, isEmpty, middleEllipsis, getUrlToken, checkDisabledExam, messageInfo, base64ToBlob, trackEventCustom */
|
|
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js */ 37205);
|
|
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
|