Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_46011646
wechaty
提交
2b811ff7
W
wechaty
项目概览
weixin_46011646
/
wechaty
与 Fork 源项目一致
Fork自
wechaty / wechaty
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
wechaty
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2b811ff7
编写于
10月 01, 2016
作者:
Huan (李卓桓)
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
doc indent
上级
f2be46c9
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
30 addition
and
12 deletion
+30
-12
doc/webwxapp.js
doc/webwxapp.js
+30
-12
未找到文件。
doc/webwxapp.js
浏览文件 @
2b811ff7
...
@@ -1454,7 +1454,24 @@ angular.module("Controllers", []),
...
@@ -1454,7 +1454,24 @@ angular.module("Controllers", []),
}(),
}(),
!
function
()
{
!
function
()
{
"
use strict
"
;
"
use strict
"
;
angular
.
module
(
"
Controllers
"
).
controller
(
"
createChatroomController
"
,
[
"
$rootScope
"
,
"
$scope
"
,
"
$timeout
"
,
"
$state
"
,
"
$log
"
,
"
$document
"
,
"
chatFactory
"
,
"
contactFactory
"
,
"
appFactory
"
,
"
chatroomFactory
"
,
"
confFactory
"
,
"
mmpop
"
,
"
ngDialog
"
,
"
utilFactory
"
,
"
stateManageService
"
,
"
accountFactory
"
,
function
(
e
,
t
,
o
,
n
,
r
,
a
,
i
,
c
,
s
,
l
,
u
,
f
,
d
,
g
,
m
,
p
)
{
angular
.
module
(
"
Controllers
"
).
controller
(
"
createChatroomController
"
,
[
"
$rootScope
"
,
"
$scope
"
,
"
$timeout
"
,
"
$state
"
,
"
$log
"
,
"
$document
"
,
"
chatFactory
"
,
"
contactFactory
"
,
"
appFactory
"
,
"
chatroomFactory
"
,
"
confFactory
"
,
"
mmpop
"
,
"
ngDialog
"
,
"
utilFactory
"
,
"
stateManageService
"
,
"
accountFactory
"
,
function
(
e
// $rootScope
,
t
// $scope
,
o
// $timeout
,
n
// $state
,
r
// $log
,
a
// $document
,
i
// chatFactory
,
c
// contactFactory
,
s
// appFactory
,
l
// chatroomFactory
,
u
// confFactory
,
f
// mmpop
,
d
// ngDialog
,
g
// utilFactory
,
m
// stateManageService
,
p
// accountFactory
)
{
o
(
function
()
{
o
(
function
()
{
t
.
ngDialogData
.
isCreate
&&
(
h
=
[]),
t
.
ngDialogData
.
isCreate
&&
(
h
=
[]),
t
.
allContacts
=
c
.
pickContacts
([
"
star
"
,
"
friend
"
],
{
t
.
allContacts
=
c
.
pickContacts
([
"
star
"
,
"
friend
"
],
{
...
@@ -1494,7 +1511,7 @@ angular.module("Controllers", []),
...
@@ -1494,7 +1511,7 @@ angular.module("Controllers", []),
angular
.
forEach
(
t
.
selectedUsers
,
function
(
e
)
{
angular
.
forEach
(
t
.
selectedUsers
,
function
(
e
)
{
o
.
push
(
e
.
UserName
)
o
.
push
(
e
.
UserName
)
}),
}),
l
.
addMember
(
e
.
UserName
,
o
.
join
(
"
,
"
),
function
(
e
)
{
(
l
as
chatroomFactory
)
.
addMember
(
e
.
UserName
,
o
.
join
(
"
,
"
),
function
(
e
)
{
e
.
BaseResponse
&&
0
!=
e
.
BaseResponse
.
Ret
&&
-
2013
!=
e
.
BaseResponse
.
Ret
&&
d
.
openConfirm
({
e
.
BaseResponse
&&
0
!=
e
.
BaseResponse
.
Ret
&&
-
2013
!=
e
.
BaseResponse
.
Ret
&&
d
.
openConfirm
({
className
:
"
default
"
,
className
:
"
default
"
,
templateUrl
:
"
comfirmTips.html
"
,
templateUrl
:
"
comfirmTips.html
"
,
...
@@ -2843,16 +2860,17 @@ angular.module("Services", []),
...
@@ -2843,16 +2860,17 @@ angular.module("Services", []),
!
function
()
{
!
function
()
{
"
use strict
"
;
"
use strict
"
;
angular
.
module
(
"
Services
"
).
factory
(
"
chatroomFactory
"
,
[
"
$rootScope
"
,
"
$timeout
"
,
"
$http
"
,
"
$q
"
,
"
contactFactory
"
,
"
accountFactory
"
,
"
emojiFactory
"
,
"
confFactory
"
,
"
utilFactory
"
,
"
reportService
"
,
"
mmHttp
"
,
function
(
angular
.
module
(
"
Services
"
).
factory
(
"
chatroomFactory
"
,
[
"
$rootScope
"
,
"
$timeout
"
,
"
$http
"
,
"
$q
"
,
"
contactFactory
"
,
"
accountFactory
"
,
"
emojiFactory
"
,
"
confFactory
"
,
"
utilFactory
"
,
"
reportService
"
,
"
mmHttp
"
,
function
(
e
e
// $rootScope
,
t
,
t
// $timeout
,
o
,
o
// $http
,
n
,
n
// $q
,
r
,
r
// contactFactory
,
a
,
a
// accountFactory
,
i
,
i
// emojiFactory
,
c
,
c
// confFactory
,
s
,
s
// utilFactory
,
l
,
l
// reportService
,
_
// mmHttp ?
)
{
)
{
var
u
,
f
=
{},
d
=
{
var
u
,
f
=
{},
d
=
{
setCurrentContact
:
function
(
e
)
{
setCurrentContact
:
function
(
e
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录