yujian
2019-11-07 c37e84a5bc4629475da4a38415a231f121d39c61
品牌
1个文件已修改
28 ■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/BrandControllerV2.java 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/BrandControllerV2.java
@@ -349,8 +349,14 @@
     * @param acceptData
     * @param out
     */
//    @RequestMapping(value = "getList", method = RequestMethod.POST)
    @RequestMapping(value = "getList", method = RequestMethod.POST)
    public void getList(AcceptData acceptData, Integer page, Long cid, Long uid, PrintWriter out) {
        if (Constant.IS_TEST) {
            getListV3(acceptData, page, cid, uid, out);
            return;
        }
        if (page == null || page < 1) {
            out.print(JsonUtil.loadFalseResult("页码不正确"));
            return;
@@ -391,8 +397,13 @@
     * @param acceptData
     * @param out
     */
//    @RequestMapping(value = "getShopInfoV2", method = RequestMethod.POST)
    @RequestMapping(value = "getShopInfoV2", method = RequestMethod.POST)
    public void getShopInfoV2(AcceptData acceptData, Integer page, Long id, Long uid, PrintWriter out) {
        if (Constant.IS_TEST) {
            getShopInfoV3(acceptData, page, id, uid, out);
            return;
        }
        
        if (id == null) {
            out.print(JsonUtil.loadFalseResult("缺失店铺id"));
@@ -550,8 +561,13 @@
     *            精选1, 足迹列表2
     * @param out
     */
//    @RequestMapping(value = "getHistoryV2", method = RequestMethod.POST)
    @RequestMapping(value = "getHistoryV2", method = RequestMethod.POST)
    public void getHistoryV2(AcceptData acceptData, Integer page, Long uid, Integer type, PrintWriter out) {
        if (Constant.IS_TEST) {
            getHistoryV3(acceptData, page, uid, type, out);
            return;
        }
        if (type == null) {
            out.print(JsonUtil.loadFalseResult("类型不正确"));
            return;
@@ -622,7 +638,7 @@
     * @param acceptData
     * @param out
     */
    @RequestMapping(value = "getList", method = RequestMethod.POST)
//    @RequestMapping(value = "getList", method = RequestMethod.POST)
    public void getListV3(AcceptData acceptData, Integer page, Long cid, Long uid, PrintWriter out) {
        if (page == null || page < 1) {
            out.print(JsonUtil.loadFalseResult("页码不正确"));
@@ -665,7 +681,7 @@
     * @param acceptData
     * @param out
     */
    @RequestMapping(value = "getShopInfoV2", method = RequestMethod.POST)
//    @RequestMapping(value = "getShopInfoV2", method = RequestMethod.POST)
    public void getShopInfoV3(AcceptData acceptData, Integer page, Long id, Long uid, PrintWriter out) {
        if (id == null) {
            out.print(JsonUtil.loadFalseResult("缺失店铺id"));
@@ -740,7 +756,7 @@
     *            精选1, 足迹列表2
     * @param out
     */
    @RequestMapping(value = "getHistoryV2", method = RequestMethod.POST)
//    @RequestMapping(value = "getHistoryV2", method = RequestMethod.POST)
    public void getHistoryV3(AcceptData acceptData, Integer page, Long uid, Integer type, PrintWriter out) {
        if (type == null) {
            out.print(JsonUtil.loadFalseResult("类型不正确"));