{
protected function initialize()
{
parent::initialize();
}
public function run($param=[]) {
$where = [];
$where[] = ['A.w_id', '=', $this->config['id']];
$where[] = ['A.id', '=', $param['id']];
$where[] = ['A.status', '=', 1];
$info = \think\Db::name('shop')->alias('A')
->field('A.*, B.shop_id, B.chicun, B.money as g_money, B.hongli as g_hongli, C.title as type_title')
->leftJoin('shop_guige B', 'A.id = B.shop_id')
->leftJoin('shop_type C', 'A.type_id = C.id')
->where($where)
->group('A.id')
->find();
if (!$info) {
pid | 1080 |
ddcd6aa2db25ece25475ce9eadea6316 | 1 |
think | { "actoken": "3c16224f8800598d63013707e7447d7a" } |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.17go8.com.tw |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.17go8.com.tw |
SERVER_PORT | 443 |
SERVER_ADDR | 61.216.114.55 |
REMOTE_PORT | 35914 |
REMOTE_ADDR | 54.224.70.148 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.17store.shop |
DOCUMENT_URI | /index.php |
REQUEST_URI | /product_detail?pid=1080 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/product_detail.html&pid=1080 |
SCRIPT_FILENAME | /www/wwwroot/www.17store.shop/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711804.5326 |
REQUEST_TIME | 1711711804 |
APP_PATH | /www/wwwroot/www.17store.shop/app/ |
__EDITION__ | v1.0.1 |
__ADMIN__ | /public/admin |
__INDEX__ | /public/index |
__PULOADS__ | /public/data/images |
__XLXS__ | /public/data/excel |
ROOT_PATH | /www/wwwroot/www.17store.shop |