Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1a7c6622
authored
Jun 24, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
apis
parent
6a51a3c8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
7 deletions
Application/Common/Conf/config_url.php
Application/Home/View/GoodManage/index.html
dist/js/global/global.min.js
dist/js/goodmanage/index.js
Application/Common/Conf/config_url.php
View file @
1a7c6622
...
...
@@ -13,18 +13,18 @@ return array(
'__PUBLIC__'
=>
STATIC_DOMAIN
,
//非必须登录
//登录、注册、找回密码、登录状态、绑定第三方账户
'authapi'
=>
'
authapi.icsales.com
'
,
'authapi'
=>
'
http://authapi.icsales.cc
'
,
//非必须登录
//询价中心、后台首页(部分接口)、抢单专区、后台搜索、前台搜索
'soapi'
=>
'
soapi.icsales.com
'
,
'soapi'
=>
'
http://soapi.icsales.cc
'
,
//必须登录
//登录会员信息、会员认证(包含但不限于新增认证、认证列表)、积分、账户设置、站内消息通知
'userapi'
=>
'
userapi.icsales.com
'
,
'userapi'
=>
'
http://userapi.icsales.cc
'
,
//非必须登录:商详
//必须登录:我的商品列表、编辑、新增、删除、下架、上架、批量上传、商品数量统计、批量上传任务状态
'goodsapi'
=>
'
goodsapi.icsales.com
'
,
'goodsapi'
=>
'
http://goodsapi.icsales.cc
'
,
//必须登录:我的询价列表、询价下架and上架、询价详情、询价数量统计、发布询价 报价列表、报价详情(询报价相关)、报价数量统计、发布报价
'inquiryapi'
=>
'
inquiryapi.icsales.com
'
'inquiryapi'
=>
'
http://inquiryapi.icsales.cc
'
),
'URL_MAP_RULES'
=>
array
(
//静态路由
...
...
Application/Home/View/GoodManage/index.html
View file @
1a7c6622
...
...
@@ -155,6 +155,8 @@
</div>
<include
file=
"public/foot"
/>
<script
src=
"__PUBLIC__/js/goodmanage/index.js"
></script>
<script>
layui
.
use
(
'laydate'
,
function
()
{
var
laydate
=
layui
.
laydate
;
...
...
dist/js/global/global.min.js
View file @
1a7c6622
...
...
@@ -3,11 +3,12 @@
init
:
function
()
{
this
.
mounted
(
this
).
handleBind
(
this
);
},
getData
:
function
(
url
,
type
,
param
,
callback
,
loading
)
{
getData
:
function
(
url
,
type
,
param
,
callback
)
{
var
index
=
layer
.
load
(
1
);
var
platform
=
{
pf
:
20
pf
:
20
,
token
:
'1298dc6f00a017d9e94fc1e57792625d'
}
var
params
=
$
.
extend
({},
platform
,
param
);
...
...
dist/js/goodmanage/index.js
0 → 100644
View file @
1a7c6622
!
function
()
{
window
.
GoodManage
=
{
init
:
function
()
{
this
.
created
(
this
).
mounted
(
this
).
handleBind
(
this
);
},
created
(
opt
)
{
IcController
.
getData
(
apis
.
goodsInfo
,
'POST'
,
null
,
function
(
res
)
{
console
.
log
(
res
)
})
return
this
;
},
mounted
:
function
(
opt
)
{
return
this
;
},
handleBind
:
function
(
opt
)
{
return
this
;
},
},
$
(
function
()
{
GoodManage
.
init
();
})
}();
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment