foreach ($supplier_list as $slinde=>$slitem){
$supplier_list[$slinde]['oa_user'] = Db::name('oa_users')->where('supplier_id',$slitem['id'])->field('id,name,headimgurl')->select();
}*/
$product_info['supplier_list'] = $supplier_list;
}
}
}
//规格
$variety_date = [];
$variety = GoodsVariety::where('goods_id', $product_info['id'])->select();
$variety_index = [];
$index = 0;
foreach ($variety as $key => $value) {
if (!isset($variety_date[$value['title']])) {
$variety_date[$value['title']] = [];
$variety_index[$value['title']] = $index;
$index++;
}
array_push($variety_date[$value['title']], ['index' => $variety_index[$value['title']], 'item' => $value['item'], 'id' => $value['id'], 'url' => $value['url']]);
think | { "applet_id": 232 } |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | close |
HTTP_X_FORWARDED_FOR | 44.220.89.57 |
HTTP_HOST | lipingongsi.net |
HTTP_REMOTEIP | 44.220.89.57 |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | vs.miniappss.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.23.128.12 |
REMOTE_PORT | 47318 |
REMOTE_ADDR | 100.122.184.119 |
SERVER_SOFTWARE | nginx/1.22.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/vs.miniappss.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /goodsInfo/81041.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/goodsInfo/81041.html |
SCRIPT_FILENAME | /www/wwwroot/vs.miniappss.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723130.731 |
REQUEST_TIME | 1711723130 |
TABLE_CACHE_TIME | 60 |