Commit 4fd5405f authored by 刘俊宏's avatar 刘俊宏

628 iOS:个人中心,补充头像占位图、当前用户账号。

parent d224db7b
...@@ -1523,6 +1523,7 @@ ...@@ -1523,6 +1523,7 @@
E09B03A92445B09200211A51 /* Model */ = { E09B03A92445B09200211A51 /* Model */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
F95B8533247F47D800790719 /* Work */,
E00D85DC244561FD00F5F816 /* Products */, E00D85DC244561FD00F5F816 /* Products */,
E0B5308224728D5600FFCC15 /* WarehouseManageModel */, E0B5308224728D5600FFCC15 /* WarehouseManageModel */,
F956D5BE246A3649003FF510 /* OrderManageModel */, F956D5BE246A3649003FF510 /* OrderManageModel */,
...@@ -2289,6 +2290,13 @@ ...@@ -2289,6 +2290,13 @@
path = "查看全部"; path = "查看全部";
sourceTree = "<group>"; sourceTree = "<group>";
}; };
F95B8533247F47D800790719 /* Work */ = {
isa = PBXGroup;
children = (
);
path = Work;
sourceTree = "<group>";
};
F95D9B4E24484F140080D6E3 /* AlertView */ = { F95D9B4E24484F140080D6E3 /* AlertView */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
......
{
"images" : [
{
"filename" : "个人设置头像.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "个人设置头像@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "个人设置头像@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
...@@ -90,5 +90,9 @@ ...@@ -90,5 +90,9 @@
<string>Adminorder/editFtNumber</string> <string>Adminorder/editFtNumber</string>
<key>提交下单</key> <key>提交下单</key>
<string>Adminorder/addOrder</string> <string>Adminorder/addOrder</string>
<key>获取统计、店铺二维码、待办事项信息</key>
<string>Workcenter/statistics</string>
<key>获取权限</key>
<string>Workcenter/auths</string>
</dict> </dict>
</plist> </plist>
...@@ -25,7 +25,7 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable ...@@ -25,7 +25,7 @@ class PersonCenterViewController: BaseViewController,UITableViewDelegate,UITable
let UserToken = UserDefaults.standard.value(forKey: "user_token") let UserToken = UserDefaults.standard.value(forKey: "user_token")
adminInfo(["user_token":UserToken as Any], success: { (data) in adminInfo(["user_token":UserToken as Any], success: { (data) in
self.dataModel = (data as! AdminInfoModel) self.dataModel = (data as! AdminInfoModel)
self.iconImg.sd_setImage(with: URL(string: SERVERCE_ImageHost + (self.dataModel?.data?.shop_img)!)) self.iconImg.sd_setImage(with: URL(string: SERVERCE_ImageHost + (self.dataModel?.data?.shop_img)!), placeholderImage: UIImage.init(named: "个人设置头像"))
self.shopNameLbl.text = self.dataModel?.data?.stall_name self.shopNameLbl.text = self.dataModel?.data?.stall_name
self.nameLbl.text = self.dataModel?.data?.admin_name self.nameLbl.text = self.dataModel?.data?.admin_name
}) { (error) in }) { (error) in
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="light"/> <device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......
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