餐饮油烟智能监测与监管一体化平台
riku
2026-03-17 b1a0d701cf898c8b7812e66a808a1c91f2bae6cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { $fysp } from '../index';
 
export default {
  /**
   * 获取巡查中的任意图片
   */
  getRoutineByStGuid(stGuid) {
    const params = `?stGuid=${stGuid}`;
    return $fysp.get(`mediafile/routine${params}`).then((res) => res.data);
  },
  getRoutineByiGuid(iGuid) {
    const params = `?iGuid=${iGuid}`;
    return $fysp.get(`mediafile/routine${params}`).then((res) => res.data);
  },
  updateMediaFile(mediafile) {
    return $fysp.post('mediafile', mediafile).then((res) => res.data);
  },
  deleteMediaFile(id) {
    return $fysp.delete(`mediafile/${id}`).then((res) => res.data);
  },
};