Commit b9ce6834 authored by 石盼盼's avatar 石盼盼

Merge branch 'shipanpan' into 'master'

Shipanpan

See merge request !38
parents be62932b f717172e
......@@ -22,6 +22,7 @@ Page({
*/
onLoad: function (options) {
this.getCitylist()
this.getMyarea()
},
showCitypop(e) {
this.setData({
......@@ -34,6 +35,22 @@ Page({
show: false
})
},
getMyarea : function () {
let params = {
url:'coach/myarea',
data : {
coach_id: app.globalData.coach_id,
},
callback : (data) => {
console.log(data)
this.setData({
myarea : data
})
}
}
base.newRequest(params)
},
getCitylist: function () {
let params = {
url: 'coach/city',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment