|
|
|
|
@ -250,10 +250,8 @@ var dataInfo = function dataInfo(_ref) {
|
|
|
|
|
(0,magazine/* getMagazinNew */.o7)().then(function (res) {
|
|
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
|
|
var _res$data2;
|
|
|
|
|
(0,magazine/* getReviewList */.t_)({
|
|
|
|
|
(0,magazine/* approved_articles */.i7)({
|
|
|
|
|
id: res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 || (_res$data2 = _res$data2[0]) === null || _res$data2 === void 0 ? void 0 : _res$data2.id,
|
|
|
|
|
status: "approved",
|
|
|
|
|
is_me: 1,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 4
|
|
|
|
|
}).then(function (resItem) {
|
|
|
|
|
@ -1359,6 +1357,7 @@ function _forbid_msg() {
|
|
|
|
|
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
|
|
|
|
|
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
|
|
|
|
|
/* harmony export */ fp: function() { return /* binding */ modifyOtherMagazine; },
|
|
|
|
|
/* harmony export */ i7: function() { return /* binding */ approved_articles; },
|
|
|
|
|
/* harmony export */ id: function() { return /* binding */ getMagazinColumn; },
|
|
|
|
|
/* harmony export */ j: function() { return /* binding */ getMagazinRecArc; },
|
|
|
|
|
/* harmony export */ lR: function() { return /* binding */ getMagazinDetail; },
|
|
|
|
|
@ -1643,8 +1642,7 @@ function _getMagazinCheck() {
|
|
|
|
|
function getReviewList(_x8) {
|
|
|
|
|
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) {
|
|
|
|
|
@ -1662,17 +1660,17 @@ function _getReviewList() {
|
|
|
|
|
}));
|
|
|
|
|
return _getReviewList.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getReviewProgress(_x9) {
|
|
|
|
|
return _getReviewProgress.apply(this, arguments);
|
|
|
|
|
function approved_articles(_x9) {
|
|
|
|
|
return _approved_articles.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 _callee14(params) {
|
|
|
|
|
// 审核进度
|
|
|
|
|
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) {
|
|
|
|
|
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, "/article_progress.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, "/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)
|
|
|
|
|
}));
|
|
|
|
|
@ -1682,49 +1680,71 @@ function _getReviewProgress() {
|
|
|
|
|
}
|
|
|
|
|
}, _callee14);
|
|
|
|
|
}));
|
|
|
|
|
return _approved_articles.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function getReviewProgress(_x10) {
|
|
|
|
|
return _getReviewProgress.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function canclePost(_x10) {
|
|
|
|
|
|
|
|
|
|
//取消投稿
|
|
|
|
|
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) {
|
|
|
|
|
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"), {
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}, _callee15);
|
|
|
|
|
}));
|
|
|
|
|
return _getReviewProgress.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function canclePost(_x11) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
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, "/cancel_submit.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, "/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 _context15.stop();
|
|
|
|
|
return _context16.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee15);
|
|
|
|
|
}, _callee16);
|
|
|
|
|
}));
|
|
|
|
|
return _canclePost.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function editArticle(_x11) {
|
|
|
|
|
function editArticle(_x12) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
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, "/change_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, "/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 _context16.stop();
|
|
|
|
|
return _context17.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee16);
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}));
|
|
|
|
|
return _editArticle.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
@ -1734,124 +1754,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 _callee17() {
|
|
|
|
|
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) {
|
|
|
|
|
_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) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
|
|
|
|
|
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
|
|
|
|
|
method: 'get'
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context17.stop();
|
|
|
|
|
return _context18.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}));
|
|
|
|
|
return _getOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function createOtherMagazine(_x12) {
|
|
|
|
|
function createOtherMagazine(_x13) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
|
|
|
|
|
return _context19.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 _context18.stop();
|
|
|
|
|
return _context19.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}));
|
|
|
|
|
return _createOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function modifyOtherMagazine(_x13) {
|
|
|
|
|
function modifyOtherMagazine(_x14) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context19.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 _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"), {
|
|
|
|
|
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 _context19.stop();
|
|
|
|
|
return _context20.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}));
|
|
|
|
|
return _modifyOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function delOtherMagazine(_x14) {
|
|
|
|
|
function delOtherMagazine(_x15) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
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: 'delete'
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context20.stop();
|
|
|
|
|
return _context21.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}, _callee21);
|
|
|
|
|
}));
|
|
|
|
|
return _delOtherMagazine.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function reviewCount(_x15) {
|
|
|
|
|
function reviewCount(_x16) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
case 0:
|
|
|
|
|
return _context21.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 _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"), {
|
|
|
|
|
method: 'put'
|
|
|
|
|
}));
|
|
|
|
|
case 1:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context21.stop();
|
|
|
|
|
return _context22.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee21);
|
|
|
|
|
}, _callee22);
|
|
|
|
|
}));
|
|
|
|
|
return _reviewCount.apply(this, arguments);
|
|
|
|
|
}
|
|
|
|
|
function delMagazine(_x16) {
|
|
|
|
|
function delMagazine(_x17) {
|
|
|
|
|
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 _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) {
|
|
|
|
|
_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) {
|
|
|
|
|
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, ".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, ".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 _context22.stop();
|
|
|
|
|
return _context23.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee22);
|
|
|
|
|
}, _callee23);
|
|
|
|
|
}));
|
|
|
|
|
return _delMagazine.apply(this, arguments);
|
|
|
|
|
}
|