智云来客
AIOPC 创客孵化平台 · 前后端一体化
把创客入驻、共享空间预约、需求发布与接单、站内沟通、交付验收、会员与资金流程放进同一个小程序。前端有演示模式,后端有真实 API、定时任务和运营后台,可以沿完整状态链检查业务是否能落地。
从一次点击,追到数据库里的状态。
页面、接口、服务层与数据表使用同一套业务语言。接单、交付、验收和争议都不是孤立按钮,而是有前后依赖的状态迁移。
const orders = await listDemandOrders({
scope: 'accepted',
category: '内容生产'
})
const detail = await getDemandOrder(order.id)
if (detail.canSubmitDelivery) {
await submitDelivery(order.id, payload)
}
Route::post(
'api/v1/demand-orders/accept',
'api/DemandOrder/accept'
);
IdempotencyService::run(
'demand-orders.accept',
(int) $user['id'],
function () use ($user) {
return DemandOrderService::accept(
$user,
$this->input()
);
}
);
pending_review
→ pending_deposit
→ pending_publish
→ open
→ accepted
→ pending_taker_deposit
→ accepted
→ pending_acceptance
→ completed
exception → disputed
