Browse Source

Merge branch 'develop' of zhengxifeng/tyqngp into master

zhengxifeng 2 months ago
parent
commit
f2455fc07b
33 changed files with 16 additions and 6 deletions
  1. 1
    0
      .gitignore
  2. 10
    6
      apps/common/HomeController.php
  3. 5
    0
      git.txt
  4. BIN
      static/images/logo.png
  5. BIN
      static/images/nopic.png
  6. BIN
      static/upload/image/20220506/1651810613739589.png
  7. BIN
      static/upload/image/20240528/1716883117963066.png
  8. BIN
      static/upload/image/20240528/1716885818288654.jpg
  9. BIN
      static/upload/image/20240528/1716887600211481.jpg
  10. BIN
      static/upload/image/20240529/1716968013296978.png
  11. BIN
      static/upload/image/20240529/1716968131616384.png
  12. BIN
      static/upload/image/20240530/1717041190761665.jpg
  13. BIN
      static/upload/image/20240530/1717041211834039.jpg
  14. BIN
      static/upload/image/20240530/1717045627259113.jpg
  15. BIN
      static/upload/image/20240530/1717045756182348.jpg
  16. BIN
      static/upload/image/20240530/1717045812457230.jpg
  17. BIN
      static/upload/image/20240530/1717046241767844.jpg
  18. BIN
      static/upload/image/20240530/1717054073336460.jpg
  19. BIN
      static/upload/image/20240530/1717054087374923.jpg
  20. BIN
      static/upload/image/20240820/1724085697853109.png
  21. BIN
      static/upload/image/20240820/1724086263662169.jpg
  22. BIN
      static/upload/image/20240821/1724202039647155.jpg
  23. BIN
      static/upload/image/20240821/1724202050743357.jpg
  24. BIN
      static/upload/image/20240821/1724202059241265.jpg
  25. BIN
      static/upload/image/20240821/1724202068593765.png
  26. BIN
      static/upload/image/20240821/1724202097163175.png
  27. BIN
      static/upload/image/20240821/1724202192653703.png
  28. BIN
      static/upload/image/20240826/1724603617908669.png
  29. BIN
      static/upload/image/20240826/1724603904511317.png
  30. BIN
      static/upload/image/20240826/1724604698835047.png
  31. BIN
      static/upload/other/20240529/1716963268333087.jpeg
  32. BIN
      static/upload/other/20240529/1716966928526087.jpeg
  33. BIN
      static/upload/other/20240530/1717045488763829.jpeg

+ 1
- 0
.gitignore View File

1
 data/
1
 data/
2
 runtime/
2
 runtime/
3
+static/
3
 *.log
4
 *.log
4
 *.sql
5
 *.sql
5
 *.zip
6
 *.zip

+ 10
- 6
apps/common/HomeController.php View File

101
             if( $domain == $main_domain ){
101
             if( $domain == $main_domain ){
102
                 //cookie('city','');
102
                 //cookie('city','');
103
                 cookie('city',$this->config('firstcity'));
103
                 cookie('city',$this->config('firstcity'));
104
+                //var_dump($domain_first);die;
104
             }else{
105
             }else{
105
                 cookie('city',$domain_first);
106
                 cookie('city',$domain_first);
107
+
106
                 //var_dump($domain_first);
108
                 //var_dump($domain_first);
107
                 //设置新的cookie 城市id
109
                 //设置新的cookie 城市id
108
                 //$cityid = 1;
110
                 //$cityid = 1;
119
                     1,2,3,4
121
                     1,2,3,4
120
                 ];
122
                 ];
121
                 $this->assign('testArray',$testArray);*/
123
                 $this->assign('testArray',$testArray);*/
124
+            }
122
 
125
 
123
-                //输出logo
124
-                $citylogo = $this->model->getCityLogo($domain_first);
125
-                if(empty($citylogo)){
126
-                    $citylogo = $this->model->getSiteLogo();
127
-                }
128
-                $this->assign('citylogo',$citylogo);
126
+            //var_dump($domain_first);die;
127
+            //输出logo
128
+            $citylogo = $this->model->getCityLogo($domain_first);
129
+            if(empty($citylogo)){
130
+                $citylogo = $this->model->getSiteLogo();
129
             }
131
             }
132
+            $this->assign('citylogo',$citylogo);
133
+
130
         }else{
134
         }else{
131
             $cur_city = array_filter($citys, function($t) use ($domain) { return $t['isurl'] == $domain; });
135
             $cur_city = array_filter($citys, function($t) use ($domain) { return $t['isurl'] == $domain; });
132
             if( !empty($cur_city) ){
136
             if( !empty($cur_city) ){

+ 5
- 0
git.txt View File

24
 修改 .gitignore 规则
24
 修改 .gitignore 规则
25
 git add .
25
 git add .
26
 git commit -m "clear cached"
26
 git commit -m "clear cached"
27
+git push origin local-develop:develop
28
+
29
+git fetch --all
30
+git reset --hard origin/master
31
+git pull origin/master

BIN
static/images/logo.png View File


BIN
static/images/nopic.png View File


BIN
static/upload/image/20220506/1651810613739589.png View File


BIN
static/upload/image/20240528/1716883117963066.png View File


BIN
static/upload/image/20240528/1716885818288654.jpg View File


BIN
static/upload/image/20240528/1716887600211481.jpg View File


BIN
static/upload/image/20240529/1716968013296978.png View File


BIN
static/upload/image/20240529/1716968131616384.png View File


BIN
static/upload/image/20240530/1717041190761665.jpg View File


BIN
static/upload/image/20240530/1717041211834039.jpg View File


BIN
static/upload/image/20240530/1717045627259113.jpg View File


BIN
static/upload/image/20240530/1717045756182348.jpg View File


BIN
static/upload/image/20240530/1717045812457230.jpg View File


BIN
static/upload/image/20240530/1717046241767844.jpg View File


BIN
static/upload/image/20240530/1717054073336460.jpg View File


BIN
static/upload/image/20240530/1717054087374923.jpg View File


BIN
static/upload/image/20240820/1724085697853109.png View File


BIN
static/upload/image/20240820/1724086263662169.jpg View File


BIN
static/upload/image/20240821/1724202039647155.jpg View File


BIN
static/upload/image/20240821/1724202050743357.jpg View File


BIN
static/upload/image/20240821/1724202059241265.jpg View File


BIN
static/upload/image/20240821/1724202068593765.png View File


BIN
static/upload/image/20240821/1724202097163175.png View File


BIN
static/upload/image/20240821/1724202192653703.png View File


BIN
static/upload/image/20240826/1724603617908669.png View File


BIN
static/upload/image/20240826/1724603904511317.png View File


BIN
static/upload/image/20240826/1724604698835047.png View File


BIN
static/upload/other/20240529/1716963268333087.jpeg View File


BIN
static/upload/other/20240529/1716966928526087.jpeg View File


BIN
static/upload/other/20240530/1717045488763829.jpeg View File


Loading…
Cancel
Save