feat: 添加返回标题功能

This commit is contained in:
mkm 2024-06-19 09:39:48 +08:00
parent d4ee97c5ad
commit d0b0dbb3b3

View File

@ -17,7 +17,7 @@ class IndexController extends BaseLikeController
if (OrderLogic::hasError()) { if (OrderLogic::hasError()) {
return $this->fail(OrderLogic::getError()); //获取错误信息并返回错误信息 return $this->fail(OrderLogic::getError()); //获取错误信息并返回错误信息
} }
return $this->success('ok', ['dayPayPrice' => $res]); return $this->success('ok', ['dayPayPrice' => $res,'title'=>'喻寺镇农(特)产品交易大数据']);
} }
public function user() public function user()
{ {