1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { $fytz } from '../index';
 
/**
 * 信访投诉及行政处罚相关API接口
 */
export default {
  /**
   * 获取信访投诉信息
   */
  fetchComplaints(param) {
    return $fytz.post(`complaint/find`, param).then((res) => res.data);
  },
 
  /**
   * 获取行政处罚信息
   */
  fetchPunishment(param) {
    return $fytz.post(`punishment/find`, param).then((res) => res.data);
  }
};