简要描述:
- 是否开启自定义表单
请求URL:
plugin.supplier.supplier.controllers.apply.supplier-apply.is-enable-diyform
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
result: 1,
msg: "获取数据成功",
data: {
id: 8,
uniacid: 2,
title: "asd",
fields: {
diyusername: {
data_type: "88",
tp_name: "username",
tp_must: 1
},
diypassword: {
data_type: "99",
tp_name: "password",
tp_must: 1
},
diyimg: {
data_type: "5",
tp_name: "img",
tp_must: 1,
tp_max: 4
}
},
status: 1,
success: "0",
submit_number: 0,
created_at: null,
updated_at: "2017-10-20 17:54:25",
deleted_at: null
}
}
错误时返回:
{
result: 0,
msg: "获取数据失败",
data: [ ]
}
备注:
- 更多返回错误代码请看首页的错误代码描述