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": 25 } |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | close |
HTTP_X_FORWARDED_FOR | 3.87.133.69 |
HTTP_HOST | yfkj2015.com |
HTTP_REMOTEIP | 3.87.133.69 |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | vs.miniappss.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.23.128.12 |
REMOTE_PORT | 13382 |
REMOTE_ADDR | 100.122.184.99 |
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/118855.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/goodsInfo/118855.html |
SCRIPT_FILENAME | /www/wwwroot/vs.miniappss.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711669846.3046 |
REQUEST_TIME | 1711669846 |
TABLE_CACHE_TIME | 60 |