mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
a52753244f
commit
6d5c7e7ac3
@ -7,7 +7,7 @@ const user = require("utils/lib/user.js")
|
|||||||
App({
|
App({
|
||||||
data: {}, conf: {
|
data: {}, conf: {
|
||||||
serve: "https://2021.shylinux.com", appid: "wxf4e5104d83476ed6",
|
serve: "https://2021.shylinux.com", appid: "wxf4e5104d83476ed6",
|
||||||
module: "shylinux.com/x/volcanos", version: "v0.2.1",
|
module: "shylinux.com/x/volcanos", version: "v0.3.1",
|
||||||
}, base: base, core: core, misc: misc, page: page, user: user,
|
}, base: base, core: core, misc: misc, page: page, user: user,
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
const res = wx.getSystemInfoSync()
|
const res = wx.getSystemInfoSync()
|
||||||
|
@ -39,7 +39,7 @@ Volcanos("user", {
|
|||||||
},
|
},
|
||||||
}, info: {},
|
}, info: {},
|
||||||
scene: function(can, scene) {
|
scene: function(can, scene) {
|
||||||
can.misc.request(can, can.request(), "/chat/wx/login/action/scene", {scene: scene}, function(msg) {
|
can.misc.request(can, can.request(), "/chat/wx/login/action/scene", {scene: scene, serve: can.db.serve}, function(msg) {
|
||||||
can.misc.Info("app parse", msg.Result()), can.user.parse(can, msg.Result())
|
can.misc.Info("app parse", msg.Result()), can.user.parse(can, msg.Result())
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user