1 Star 0 Fork 40

浩然科技/mojinCity

forked from 商城/mojinCity 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
question 6.24 KB
一键复制 编辑 原始数据 按行查看 历史
mallplus 提交于 2022-04-13 06:52 . update question.
https://mojin.51wangshi.com/admin/login?redirect=%2Findex
DELETE from pms_attention ;
DELETE from pms_brand_apply ;
DELETE from pms_combination ;
DELETE from pms_combination_sku ;
DELETE from pms_comment ;
DELETE from pms_comment_picture ;
DELETE from pms_comment_replay ;
DELETE from pms_goods ;
DELETE from pms_goods_attribute_value ;
DELETE from pms_goods_image ;
DELETE from pms_goods_import ;
DELETE from pms_goods_service_support ;
DELETE from pms_goods_spec_value ;
DELETE from pms_shipping_method ;
DELETE from pms_shipping_method_area ;
DELETE from pms_shipping_method_freeship ;
DELETE from pms_shipping_method_freeship_area ;
DELETE from pms_sku ;
DELETE from pms_sku_batch ;
DELETE from pms_sku_image ;
DELETE from pms_sku_marketing ;
DELETE from pms_sku_member_price ;
DELETE from pms_sku_spec_value ;
--
delete from t_store_info where id >18;
DELETE from sys_store_user;
DELETE from sys_store_user_role;
http://192.168.16.100:9000 minioadmin minioadmin
nohup /app/amllplus/mojin/minio server /app/amllplus/mojin/data >min.log 2>&1 &
nohup /app/amllplus/mojin/minio server --address 172.18.223.51:8091 /app/amllplus/mojin/data > /app/amllplus/mojin/data/minio.log 2>&1 &
https://blog.csdn.net/jijiuqiu6646/article/details/103027450
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'';
flush privileges
ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘你的密码’;
user www www;
worker_processes auto;
error_log /www/wwwlogs/nginx_error.log crit;
pid /www/server/nginx/logs/nginx.pid;
worker_rlimit_nofile 51200;
events
{
use epoll;
worker_connections 51200;
multi_accept on;
}
http
{
include mime.types;
#include luawaf.conf;
include proxy.conf;
default_type application/octet-stream;
server_names_hash_bucket_size 512;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 50m;
sendfile on;
tcp_nopush on;
keepalive_timeout 60;
tcp_nodelay on;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.1;
gzip_comp_level 2;
gzip_types text/plain application/javascript application/x-javascript text/javascript text/css application/xml;
gzip_vary on;
gzip_proxied expired no-cache no-store private auth;
gzip_disable "MSIE [1-6]\.";
limit_conn_zone $binary_remote_addr zone=perip:10m;
limit_conn_zone $server_name zone=perserver:10m;
server_tokens off;
access_log off;
server
{
listen 888;
server_name phpmyadmin;
index index.html index.htm index.php;
root /www/server/phpmyadmin;
#error_page 404 /404.html;
#AUTH_START
auth_basic "Authorization";
auth_basic_user_file /www/server/pass/phpmyadmin.pass;
#AUTH_END
include enable-php.conf;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /\.
{
deny all;
}
access_log /www/wwwlogs/access.log;
}
server{
listen 443 ssl;
server_name mojin.51wangshi.com
ssl on;
# root /app/wangshi/validation/; #验证网站根目录
#root html;
#index index.html index.htm;
ssl_certificate /www/server/panel/vhost/nginx/vhost/cert/mojin.51wangshi.com.pem;
ssl_certificate_key /www/server/panel/vhost/nginx/vhost/cert/mojin.51wangshi.com.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
#让http请求重定向到https请求
#error_page 497 https://$host$uri?$args;
#------------------------ h5,根---------------------
location /{
root /app/amllplus/mojin/h5/;
index index.html;
try_files $uri $uri/ /index.html;
}
location /admin/{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8094/;
}
location /store/{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8095/;
}
location /api-web/{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8091/;
}
location /api-admin/{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8092/;
}
location /api-store/{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8093/;
}
}
server {
listen 8094;
server_name _;
root /app/amllplus/mojin/dist/;
index index.html;
try_files $uri $uri/ /index.html;
}
server {
listen 8095;
server_name mojin.51wangshi.com;
root /app/amllplus/mojin/store/;
index index.html;
try_files $uri $uri/ /index.html;
location /pc{
root /app/amllplus/mojin/pc/;
index index.html;
try_files $uri $uri/ /index.html;
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/haorankeji/mojin-city.git
[email protected]:haorankeji/mojin-city.git
haorankeji
mojin-city
mojinCity
master

搜索帮助