|
|
@ -294,8 +294,12 @@ public class AdminGoodsController extends BaseController { |
|
|
@RequestMapping("/manualGetGoods") |
|
|
@RequestMapping("/manualGetGoods") |
|
|
public JSONObject manualGetGoods(){ |
|
|
public JSONObject manualGetGoods(){ |
|
|
int count = goodsService.getApiGoods(); |
|
|
int count = goodsService.getApiGoods(); |
|
|
|
|
|
// 封装返回数据
|
|
|
|
|
|
Map rtmap = new HashMap(); |
|
|
|
|
|
rtmap.put("count",count); |
|
|
|
|
|
jsonObject.put("code",200); |
|
|
jsonObject.put("msg","成功"); |
|
|
jsonObject.put("msg","成功"); |
|
|
jsonObject.put("count",count); |
|
|
jsonObject.put("data",rtmap); |
|
|
return jsonObject; |
|
|
return jsonObject; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|