代码拉取完成,页面将自动刷新
同步操作将从 商城/mojinCity 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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;
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。