- 多次终审
- 多次立项
- 财务板块-付款计划API
- 竣工自检API
- 审批中心管理
- 分批开工
- 项目公司管理
- admin
- 项目回款-申请
- 审批流导出
- APP合同管理
- 项目登记管理
- 项目立项管理
- 项目计划管理
- 项目开工管理
- 文件上传
- 竣工验收API
- 审批流程管理
- 商机信息实体表管理
- 推广配置管理
- 微信小程序
- 商机管理
- 物资调拨管理
- 渠道商表管理
- 渠道商合同签约表管理
- 默认目录
- TestController
- APP待办记录管理
- 项目方案计算API管理
- 项目终审管理
- 渠道商管理
- 渠道商合同签约管理
- 渠道商项目登记管理
- 腾讯广告-对接
- 待办记录管理
- photovoltaic-base-web
- 内部用户API
- 施工管理
- Test01Controller
- 主页 BI 数据接口
- 光伏系统登录POST
- 腾讯广告-授权码GET
留资(小程序接口)
本地环境
http://127.0.0.1:10016
本地环境
http://127.0.0.1:10016
POST
/api/businessOpportunity
请求参数
Header 参数
token
string
可选
默认值:
{{token}}
tenant-id
string
可选
默认值:
{{tenant-id}}
Body 参数application/json
id
integer <int64>
主键id
province
string
省份
city
string
城市
county
string
区/县
village
string
乡镇
address
string
详细地址
name
string
姓名
<= 10 字符
phoneNumber
string
手机号码
正则匹配:
^\d{11}$
email
string <email>
电子邮箱
<= 50 字符
propertyType
string
物业类型
正则匹配:
住宅|商业|工业|其他
roofArea
number
屋顶面积(m2)
<= 99999999.99> 0
electricityUsage
number
用电情况(元)
<= 99999999.99> 0
installationIntent
string
安装意向
正则匹配:
一个月内|三个月内|半年内|一年内|不确定
uniqueCode
string
必需
remarks
string
备注信息
<= 200 字符
attachments
array[object (CommonFileAttachmentVO) {3}]
附件
fileName
string
文件名称
fileUrl
string
文件url
fileType
integer
可选
文件类型
submitTime
string
提交时间
channel
string
商机来源渠道
appId
string
小程序appId
openId
string
微信用户唯一标识
unionId
string
可选
createUserId
integer <int64>
用户ID
createBy
string
创建人
createTime
string
创建时间
updateBy
string
更新人
updateTime
string
更新时间
示例
{
"id": 0,
"province": "string",
"city": "string",
"county": "string",
"village": "string",
"address": "string",
"name": "string",
"phoneNumber": "string",
"email": "user@example.com",
"propertyType": "string",
"roofArea": 1,
"electricityUsage": 1,
"installationIntent": "string",
"uniqueCode": "string",
"remarks": "string",
"attachments": [
{
"fileName": "string",
"fileUrl": "string",
"fileType": 0
}
],
"submitTime": "string",
"channel": "string",
"appId": "string",
"openId": "string",
"unionId": "string",
"createUserId": 0,
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:10016/api/businessOpportunity' \
--header 'token: ' \
--header 'tenant-id: 0' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"province": "string",
"city": "string",
"county": "string",
"village": "string",
"address": "string",
"name": "string",
"phoneNumber": "string",
"email": "user@example.com",
"propertyType": "string",
"roofArea": 1,
"electricityUsage": 1,
"installationIntent": "string",
"uniqueCode": "string",
"remarks": "string",
"attachments": [
{
"fileName": "string",
"fileUrl": "string",
"fileType": 0
}
],
"submitTime": "string",
"channel": "string",
"appId": "string",
"openId": "string",
"unionId": "string",
"createUserId": 0,
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string"
}'
返回响应
🟢200成功
application/json
Body
code
string
返回码
msg
string
返回提示信息
data
boolean
返回的数据结果
示例
{
"code": "",
"msg": "",
"data": false
}