1
13693261870
2022-09-16 fee60c3e25fac0982f3b8cb8feea7225c4ed22f8
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
package com.terra.proxy.service.Impl;
 
import java.io.IOException;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.terra.proxy.bean.ResActionRecord;
import com.terra.proxy.config.SysTemPropertyConfig;
import com.terra.proxy.service.ResActionRecordService;
import com.terra.proxy.util.HttpOperateUtils;
 
@Service("actionRecordService")
public class ResActionRecordServiceImpl implements ResActionRecordService {
     
    @Autowired
    private  SysTemPropertyConfig tokenConfig;
    
    
    @Override
    public void save(ResActionRecord action){
        String url = tokenConfig.getApiCatalog()+"/api/actionrecord/adduseinfo";
        try{
            HttpOperateUtils.httpPost(url,action);
        }catch (IOException e) {
            e.printStackTrace();
        }
    }
}