闫增涛
2024-03-20 1daa00227f03bc3a370dc1311b7166df17368929
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import request from "../../../request/index";
import { tokenKey } from "../../config";
import toolClass from "../../toolClass";
 
 
const jobApi = {
  // 统计
  newJobWithNewView(data) {
    return request({
      url: "/job/api/NewJobWithNewView",
      method: "post",
      data
    });
  },
 
  newSession(data) {
    let token = wx.getStorageSync(tokenKey) ? wx.getStorageSync(tokenKey) : ''
    return request({
      url: token ? "/job/api/AppUserNewSession" : "/job/api/NewSession",
      method: "post",
      data
    });
  },
 
  newJobWithApiNewEvent(data) {
    return request({
      url: "/job/api/NewJobWithApiNewEvent",
      method: "post",
      data
    });
  }
};
 
export default jobApi;