12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- const { http } = require('../utils/util')
- const API = {
- createCommentURL: '/appraise/create',
-
- }
- function createCommont(data) {
-
- return http(
- API.createCommentURL,
- {
- method: 'POST',
- data: data
- }
- );
- }
- function getCommentList(params) {
- return http(
- API.createCommentURL,
- {
- method: 'GET',
- params: params,
- }
- );
- }
- module.exports = {
- createCommont,
- getCommentList
- }
|