|
|
|
|
@ -629,6 +629,7 @@ var Message = function Message(_ref) {
|
|
|
|
|
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
|
|
|
|
|
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
|
|
|
|
|
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
|
|
|
|
|
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
|
|
|
|
|
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
|
|
|
|
|
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
|
|
|
|
|
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
|
|
|
|
|
@ -853,7 +854,7 @@ function getMagazinColumn(_x5) {
|
|
|
|
|
return _getMagazinColumn.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 投稿
|
|
|
|
|
//获取月刊
|
|
|
|
|
function _getMagazinColumn() {
|
|
|
|
|
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
|
|
|
|
|
@ -871,156 +872,178 @@ function _getMagazinColumn() {
|
|
|
|
|
}));
|
|
|
|
|
return _getMagazinColumn.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function postMagazin(_x6) {
|
|
|
|
|
function getMonthlyDetail(_x6) {
|
|
|
|
|
return _getMonthlyDetail.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 投稿
|
|
|
|
|
function _getMonthlyDetail() {
|
|
|
|
|
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
|
|
|
|
|
while (1) switch (_context11.prev = _context11.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context11.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee11);
|
|
|
|
|
}));
|
|
|
|
|
return _getMonthlyDetail.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function postMagazin(_x7) {
|
|
|
|
|
return _postMagazin.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 审核
|
|
|
|
|
function _postMagazin() {
|
|
|
|
|
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
|
|
|
|
|
while (1) switch (_context11.prev = _context11.next) {
|
|
|
|
|
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
|
|
|
|
|
while (1) switch (_context12.prev = _context12.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
|
|
|
|
|
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context11.stop();
|
|
|
|
|
return _context12.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee11);
|
|
|
|
|
}, _callee12);
|
|
|
|
|
}));
|
|
|
|
|
return _postMagazin.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getMagazinCheck(_x7) {
|
|
|
|
|
function getMagazinCheck(_x8) {
|
|
|
|
|
return _getMagazinCheck.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 审核列表
|
|
|
|
|
function _getMagazinCheck() {
|
|
|
|
|
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
|
|
|
|
|
while (1) switch (_context12.prev = _context12.next) {
|
|
|
|
|
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
|
|
|
|
|
while (1) switch (_context13.prev = _context13.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
|
|
|
|
|
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context12.stop();
|
|
|
|
|
return _context13.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee12);
|
|
|
|
|
}, _callee13);
|
|
|
|
|
}));
|
|
|
|
|
return _getMagazinCheck.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getReviewList(_x8) {
|
|
|
|
|
function getReviewList(_x9) {
|
|
|
|
|
return _getReviewList.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
// 智云告示 云刊问道
|
|
|
|
|
function _getReviewList() {
|
|
|
|
|
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
|
|
|
|
|
while (1) switch (_context13.prev = _context13.next) {
|
|
|
|
|
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
|
|
|
|
|
while (1) switch (_context14.prev = _context14.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
|
|
|
|
|
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context13.stop();
|
|
|
|
|
return _context14.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee13);
|
|
|
|
|
}, _callee14);
|
|
|
|
|
}));
|
|
|
|
|
return _getReviewList.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function approved_articles(_x9) {
|
|
|
|
|
function approved_articles(_x10) {
|
|
|
|
|
return _approved_articles.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 审核进度
|
|
|
|
|
function _approved_articles() {
|
|
|
|
|
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
|
|
|
|
|
while (1) switch (_context14.prev = _context14.next) {
|
|
|
|
|
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
|
|
|
|
|
while (1) switch (_context15.prev = _context15.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
|
|
|
|
|
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context14.stop();
|
|
|
|
|
return _context15.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee14);
|
|
|
|
|
}, _callee15);
|
|
|
|
|
}));
|
|
|
|
|
return _approved_articles.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getReviewProgress(_x10) {
|
|
|
|
|
function getReviewProgress(_x11) {
|
|
|
|
|
return _getReviewProgress.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//取消投稿
|
|
|
|
|
function _getReviewProgress() {
|
|
|
|
|
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
|
|
|
|
|
while (1) switch (_context15.prev = _context15.next) {
|
|
|
|
|
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
|
|
|
|
|
while (1) switch (_context16.prev = _context16.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
|
|
|
|
|
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context15.stop();
|
|
|
|
|
return _context16.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee15);
|
|
|
|
|
}, _callee16);
|
|
|
|
|
}));
|
|
|
|
|
return _getReviewProgress.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function canclePost(_x11) {
|
|
|
|
|
function canclePost(_x12) {
|
|
|
|
|
return _canclePost.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 编辑稿件
|
|
|
|
|
function _canclePost() {
|
|
|
|
|
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
|
|
|
|
|
while (1) switch (_context16.prev = _context16.next) {
|
|
|
|
|
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
|
|
|
|
|
while (1) switch (_context17.prev = _context17.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
|
|
|
|
|
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context16.stop();
|
|
|
|
|
return _context17.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee16);
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}));
|
|
|
|
|
return _canclePost.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function editArticle(_x12) {
|
|
|
|
|
function editArticle(_x13) {
|
|
|
|
|
return _editArticle.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 其他期刊 -获取
|
|
|
|
|
function _editArticle() {
|
|
|
|
|
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
|
|
|
|
|
while (1) switch (_context17.prev = _context17.next) {
|
|
|
|
|
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
|
|
|
|
|
while (1) switch (_context18.prev = _context18.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
|
|
|
|
|
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context17.stop();
|
|
|
|
|
return _context18.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}));
|
|
|
|
|
return _editArticle.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
@ -1030,124 +1053,124 @@ function getOtherMagazine() {
|
|
|
|
|
|
|
|
|
|
// 其他期刊 -创建
|
|
|
|
|
function _getOtherMagazine() {
|
|
|
|
|
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
|
|
|
|
|
while (1) switch (_context18.prev = _context18.next) {
|
|
|
|
|
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
|
|
|
|
|
while (1) switch (_context19.prev = _context19.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
|
|
|
|
|
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
|
|
|
|
|
method: 'get'
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context18.stop();
|
|
|
|
|
return _context19.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}));
|
|
|
|
|
return _getOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function createOtherMagazine(_x13) {
|
|
|
|
|
function createOtherMagazine(_x14) {
|
|
|
|
|
return _createOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 其他期刊 -修改
|
|
|
|
|
function _createOtherMagazine() {
|
|
|
|
|
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
|
|
|
|
|
while (1) switch (_context19.prev = _context19.next) {
|
|
|
|
|
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
|
|
|
|
|
while (1) switch (_context20.prev = _context20.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
|
|
|
|
|
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context19.stop();
|
|
|
|
|
return _context20.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}));
|
|
|
|
|
return _createOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function modifyOtherMagazine(_x14) {
|
|
|
|
|
function modifyOtherMagazine(_x15) {
|
|
|
|
|
return _modifyOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 其他期刊 -删除
|
|
|
|
|
function _modifyOtherMagazine() {
|
|
|
|
|
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
|
|
|
|
|
while (1) switch (_context20.prev = _context20.next) {
|
|
|
|
|
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
|
|
|
|
|
while (1) switch (_context21.prev = _context21.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
|
|
|
|
|
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
|
|
|
|
|
method: 'put',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context20.stop();
|
|
|
|
|
return _context21.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}, _callee21);
|
|
|
|
|
}));
|
|
|
|
|
return _modifyOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function delOtherMagazine(_x15) {
|
|
|
|
|
function delOtherMagazine(_x16) {
|
|
|
|
|
return _delOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 文章阅读量+1
|
|
|
|
|
function _delOtherMagazine() {
|
|
|
|
|
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
|
|
|
|
|
while (1) switch (_context21.prev = _context21.next) {
|
|
|
|
|
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
|
|
|
|
|
while (1) switch (_context22.prev = _context22.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
|
|
|
|
|
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
|
|
|
|
|
method: 'delete'
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context21.stop();
|
|
|
|
|
return _context22.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee21);
|
|
|
|
|
}, _callee22);
|
|
|
|
|
}));
|
|
|
|
|
return _delOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function reviewCount(_x16) {
|
|
|
|
|
function reviewCount(_x17) {
|
|
|
|
|
return _reviewCount.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除期刊
|
|
|
|
|
function _reviewCount() {
|
|
|
|
|
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
|
|
|
|
|
while (1) switch (_context22.prev = _context22.next) {
|
|
|
|
|
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
|
|
|
|
|
while (1) switch (_context23.prev = _context23.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
|
|
|
|
|
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
|
|
|
|
|
method: 'put'
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context22.stop();
|
|
|
|
|
return _context23.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee22);
|
|
|
|
|
}, _callee23);
|
|
|
|
|
}));
|
|
|
|
|
return _reviewCount.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function delMagazine(_x17) {
|
|
|
|
|
function delMagazine(_x18) {
|
|
|
|
|
return _delMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function _delMagazine() {
|
|
|
|
|
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
|
|
|
|
|
while (1) switch (_context23.prev = _context23.next) {
|
|
|
|
|
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
|
|
|
|
|
while (1) switch (_context24.prev = _context24.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
|
|
|
|
|
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
|
|
|
|
|
method: 'delete',
|
|
|
|
|
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context23.stop();
|
|
|
|
|
return _context24.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee23);
|
|
|
|
|
}, _callee24);
|
|
|
|
|
}));
|
|
|
|
|
return _delMagazine.apply(this, arguments);
|
|
|
|
|
}
|