|
@@ -0,0 +1,34 @@
|
|
1
|
+1、
|
|
2
|
+addons\ewei_shopv2\core\inc\page_mobile.php
|
|
3
|
+
|
|
4
|
+添加了18~86行代码,这部分代码处理了嵌入app登录逻辑
|
|
5
|
+
|
|
6
|
+添加了88~165行代码,这部分是处理嵌入分销商城系统(mall.kuyicloud.com)的登录逻辑
|
|
7
|
+
|
|
8
|
+---
|
|
9
|
+2、
|
|
10
|
+addons\ewei_shopv2\core\mobile\account\index.php
|
|
11
|
+
|
|
12
|
+修改了64~71行的代码
|
|
13
|
+```
|
|
14
|
+原本为:
|
|
15
|
+include $this->template('login', NULL, true);
|
|
16
|
+
|
|
17
|
+修改成:
|
|
18
|
+$sws = isINSwsApp($_W, $_GPC, true);
|
|
19
|
+if($sws) {
|
|
20
|
+ $swsapp = $this->sws;
|
|
21
|
+ $swsapp['login'] = (int)$swsapp['login'];
|
|
22
|
+ include $this->template('applogin', NULL, true);
|
|
23
|
+}else {
|
|
24
|
+ include $this->template('login', NULL, true);
|
|
25
|
+}
|
|
26
|
+```
|
|
27
|
+这部分代码是未登录时,判断是否来自app,并加载不同的登录页面,其他applogin页面在
|
|
28
|
+`addons\ewei_shopv2\template\account\default3\applogin.html`
|
|
29
|
+
|
|
30
|
+---
|
|
31
|
+3、
|
|
32
|
+addons\ewei_shopv2\template\mobile\default\_account.html
|
|
33
|
+
|
|
34
|
+修改了有关`$swsapp`判断的代码
|