| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "save")
|
| | | public void save(String callback, PushGoods pushGoods, String idArray, String arrayIOS, |
| | | public void save(AdminAcceptData acceptData,String callback, PushGoods pushGoods, String idArray, String arrayIOS,
|
| | | String arrayAndroid, PrintWriter out) {
|
| | |
|
| | | try {
|
| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "saveInfo")
|
| | | public void saveInfo(String callback, PushGoods pushGoods, String arrayIOS, String arrayAndroid, PrintWriter out) {
|
| | | public void saveInfo(AdminAcceptData acceptData,String callback, PushGoods pushGoods, String arrayIOS, String arrayAndroid, PrintWriter out) {
|
| | | try {
|
| | | // 版本处理
|
| | | convertVersion(pushGoods, arrayIOS, arrayAndroid);
|
| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "delete")
|
| | | public void delete(String callback, String idArray, PrintWriter out) {
|
| | | public void delete(AdminAcceptData acceptData,String callback, String idArray, PrintWriter out) {
|
| | |
|
| | | try {
|
| | | if (StringUtil.isNullOrEmpty(idArray)) {
|
| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "getPushInfo")
|
| | | public void getPushInfo(String callback, Long id, PrintWriter out) {
|
| | | public void getPushInfo(AdminAcceptData acceptData,String callback, Long id, PrintWriter out) {
|
| | |
|
| | | if (id == null) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("参数不能为空"));
|
| | |
| | | * @throws Exception
|
| | | */
|
| | | @RequestMapping(value = "push")
|
| | | public void push(String callback, String idArray, PrintWriter out) throws Exception {
|
| | | public void push(AdminAcceptData acceptData,String callback, String idArray, PrintWriter out) throws Exception {
|
| | | if (idArray == null || idArray.trim().length() == 0) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("传递参数不能为空"));
|
| | | return;
|