antd-npm-demo
Version:
React & Redux & Ant.Design
32 lines (24 loc) • 723 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getRepliesByTopicId = getRepliesByTopicId;
var _api = require('../../../api');
var _api2 = _interopRequireDefault(_api);
var _types = require('../../types');
var _types2 = _interopRequireDefault(_types);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// 根据主题ID获取回复内容
/**
* 回复相关
*/
function getRepliesByTopicId(topic_id) {
return {
type: _types2.default.GET_TOPIC_REPLIES,
payload: {
promise: _api2.default.showReply.save({ topic_id: topic_id })
},
params: { topic_id: topic_id }
};
}
//# sourceMappingURL=replyAction.js.map
;