TempStorageController.java 705 Bytes
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package pwc.taxtech.atms.controller;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/tempStorage/")
public class TempStorageController {
    //TODO: only for index running ,should be query from db (neo)
    @RequestMapping(value = "storage/{userId}/{name}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public String getTempStorage(String userId, String name) {//TODO:only for running,should be query from db (neo)
        return "";
    }
}