refactor: 收口业务提供项接口契约
This commit is contained in:
1 parent
844a3bd715
commit
fe7005d4d0
5 files changed
+16
-9
No files matched your search
@@ -9,7 +9,7 @@ Page({
|
||||
},
|
||||
load() {
|
||||
this.setData({ loading: true, error: "" });
|
||||
Promise.all([request("/public/brand"), request("/public/services")])
|
||||
Promise.all([request("/public/brand"), request("/public/offerings")])
|
||||
.then(([brand, services]) => {
|
||||
getApp().globalData.brand = brand;
|
||||
wx.setNavigationBarTitle({ title: brand.name || "个人品牌" });
|
||||
|
||||
Reference in new issue
Block a user