generated from root/miduo_server
自在修仙0.1
parent
164cc3c5b5
commit
0b8f9c9c71
|
@ -34,7 +34,11 @@ public class ItemSendController {
|
|||
|
||||
private static final String SECRET_KEY = "38444756b58ff89b799291b3d8ed7ccf";
|
||||
|
||||
private static final String QD01_SECRET_KEY = "0a746c4e20fb6dc875f754957ddaf055";
|
||||
private static final String QD101_SECRET_KEY = "0a746c4e20fb6dc875f754957ddaf055";
|
||||
|
||||
private static final String QD501_SECRET_KEY = "0a746c4e20fb6dc875f754957ddaf055";
|
||||
|
||||
private static final String QDB01_SECRET_KEY = "0a746c4e20fb6dc875f754957ddaf055";
|
||||
|
||||
private static CUserDao cuserDao;
|
||||
@Autowired
|
||||
|
@ -42,16 +46,26 @@ public class ItemSendController {
|
|||
this.cuserDao = cuserDao;
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/qd01sendItem")
|
||||
public String qd01sendItem(HttpServletRequest request) throws Exception {
|
||||
return sendItem(request, QD01_SECRET_KEY);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/sendItem")
|
||||
public String youguSendItem(HttpServletRequest request) throws Exception {
|
||||
return sendItem(request, SECRET_KEY);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/qd101sendItem")
|
||||
public String qd101sendItem(HttpServletRequest request) throws Exception {
|
||||
return sendItem(request, QD101_SECRET_KEY);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/qd501sendItem")
|
||||
public String qd501sendItem(HttpServletRequest request) throws Exception {
|
||||
return sendItem(request, QD501_SECRET_KEY);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/qdb01sendItem")
|
||||
public String qdb01sendItem(HttpServletRequest request) throws Exception {
|
||||
return sendItem(request, QDB01_SECRET_KEY);
|
||||
}
|
||||
|
||||
public String sendItem(HttpServletRequest request, String secretKey) throws Exception {
|
||||
// 返回json
|
||||
JSONObject result = new JSONObject();
|
||||
|
|
Loading…
Reference in New Issue