<?php
$data["name"]='更新包材类型基础信息';
$data["remark"]='更新包材类型的重量和重量单位信息';
$data["url"]='/pro/updateMaterialBase';
$data["method"]='POST';
$data["content_type"]='application/json';
$data["request_json"]='{
    "innum":"0B4000004,0B4000005",
    "pam_weight":"1.5",
    "pam_weight_unit":"kg"
}';
$data["error_json"]='{
    "code": 0,
    "msg": "错误信息",
    "data": []
}';
$data["reponse_json"]='{
    "code":200,
    "msg":"ok",
    "data":[]
}';
$data["dir"]='pro';
$data["request"][]=["key"=>"innum","example"=>"0B4000004,0B4000005","must"=>"必填","type"=>"string","name"=>"包材物料编码, 多个编码用英文逗号分隔"];
$data["request"][]=["key"=>"pam_weight","example"=>"1.5","must"=>"选填","type"=>"float","name"=>"重量"];
$data["request"][]=["key"=>"pam_weight_unit","example"=>"kg","must"=>"选填","type"=>"string","name"=>"重量单位"];
$data["reponse"][]=["key"=>"code","example"=>"200","must"=>"","type"=>"int","name"=>"状态码"];
$data["reponse"][]=["key"=>"msg","example"=>"ok","must"=>"","type"=>"string","name"=>"返回信息"];
$data["reponse"][]=["key"=>"data","example"=>"[]","must"=>"","type"=>"array","name"=>"返回数据"];
return $data;