deleteLimitCode.md 1.11 KB

删除限购码接口

接口名: /limitCode/deleteLimitCode

方法

POST JSONRAW

入参


属性名称 类型 例子 说明 是否必填 长度限制
id Integer 5 限购码ID 1~14

对应SQL的操作库表

  <delete id="delLimitCode" >
    delete from limit_code
      where id = #{id,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByBatchNo" parameterType="java.lang.Integer" >
    delete from limit_code_sku
    where batchNo = #{batchNo,jdbcType=INTEGER}
  </delete>
<delete id="delLimitCodeValueBatch" >
    delete from limit_code_batchno
      where batchNo = #{batchNo,jdbcType=INTEGER}
  </delete>

响应码


响应码code 消息 说明
200 删除成功.
400 参数不能为空.
500 删除失败..

返回

{
    "code": 200,
    "data": [],
    "md5": "d751713988987e9331980363e24189ce",
    "message": "删除成功."
}