Sign in

wms / wms_shanghaijiaoda · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms_shanghaijiaoda
  • ..
  • constant
  • HttpConstant.java
  • 1. 修改信息返回 ...
    eaf0d3cb
    2. 修改物料预警文件名
    肖超群 authored
    2022-07-20 10:50:02 +0800  
    Browse Code »
HttpConstant.java 328 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package com.huaheng.common.constant;

public class HttpConstant {

    public static final int OK = 200;
    public static final int CREATED = 201;
    public static final int ERROR = 400;

    public static boolean isSuccess(int code) {
        if(code == OK) {
            return true;
        }
        return false;
    }
}