chenjunkai hace 5 años
padre
commit
28445de2ec
Se han modificado 1 ficheros con 9 adiciones y 4 borrados
  1. 9 4
      Controller/UserController.py

+ 9 - 4
Controller/UserController.py

@@ -1324,17 +1324,22 @@ class InitInfoView(View):
         # 获取设备是否存在有已被删除
         res = {'usmsg': 0}  # 预留字段, 有版本app该字段去掉会报错
         if is_ver:
+            # 评分
             res['grade'] = 1
+            # 用户帮助
             res['usingHelp'] = 0
+            # AP添加方式
             res['apAdd'] = 1
+            # AP工具
             res['apTool'] = 1
+            # 广告模块
             res['ad_module'] = {
                 "time": 0,
-                "start_path": "https://upload.jianshu.io/admin_banners/web_images/4894/23ecc55accf5c6a6c9910be966c125853d1f04a5.png",
+                "start_path": "https://test.dvema.com/web/static/image/default_start",
                 "ad_path": [
-                    "https://upload-images.jianshu.io/upload_images/17401036-b19d630b914206b6.jpg",
-                    "https://upload-images.jianshu.io/upload_images/19895418-a2fda00de789ca7b",
-                    "https://upload-images.jianshu.io/upload_images/9027928-72ce7b5d4cd53f14"
+                    "https://test.dvema.com/web/static/image/default_ad1",
+                    "https://test.dvema.com/web/static/image/default_ad2",
+                    "https://test.dvema.com/web/static/image/default_ad3",
                 ]
             }
         return response.json(0, res)