|
|
@@ -23,8 +23,8 @@ class LjhController extends BaseController
|
|
|
}
|
|
|
$apiHost = Yii::$app->params['hdImgHost'];
|
|
|
echo "<table border='1'>";
|
|
|
- echo "<tr><th>花店名称</th><th>姓名</th><th>手机号</th><th>头像</th><th>报名费</th><th>地址</th></tr>";
|
|
|
- foreach ($list as $custom) {
|
|
|
+ echo "<tr><th>编号<th></th><th>花店名称</th><th>姓名</th><th>手机号</th><th>头像</th><th>报名费</th><th>支付时间</th><th>地址</th></tr>";
|
|
|
+ foreach ($list as $key => $custom) {
|
|
|
$shopName = $custom['name'] ?? '';
|
|
|
$adminName = $custom['adminName'] ?? '';
|
|
|
$mobile = $custom['mobile'] ?? '';
|
|
|
@@ -32,9 +32,13 @@ class LjhController extends BaseController
|
|
|
$actPrice = $custom['actPrice'] ?? 0;
|
|
|
$address = $custom['address'] ?? '';
|
|
|
$url = $apiHost . $cover;
|
|
|
- echo "<tr>";
|
|
|
+ $no = bcadd($key, 1);
|
|
|
+ $payTime = $custom['payTime'] ?? '';
|
|
|
+ $time = date("m-d H:i", strtotime($payTime));
|
|
|
+ echo "<tr>{$no}<td></td>";
|
|
|
echo "<td>{$shopName}</td><td>{$adminName}</td><td>{$mobile}</td>";
|
|
|
- echo "<td><img src='{$url}' style='width:100px;height:auto;' /></td><td>{$actPrice}</td><td>{$address}</td>";
|
|
|
+ echo "<td><img src='{$url}' style='width:100px;height:auto;' /></td><td>{$actPrice}</td><td>{$time}</td>";
|
|
|
+ echo "<td>{$address}</td>";
|
|
|
echo "</tr>";
|
|
|
}
|
|
|
echo "</table>";
|