207 lines
4.6 KiB
Plaintext
207 lines
4.6 KiB
Plaintext
|
<EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><EFBFBD><EFBFBD>ҵ:
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
JavaScript,HTML,C++
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>:
|
|||
|
MySQL
|
|||
|
|
|||
|
===================
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
===================
|
|||
|
|
|||
|
<EFBFBD><EFBFBD>ǰ: bs_
|
|||
|
<EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>(bs_user)
|
|||
|
<09><>¼<EFBFBD>˺<EFBFBD> varchar <20><><EFBFBD><EFBFBD>
|
|||
|
<09><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD> varchar (hashed)
|
|||
|
<09>dz<EFBFBD> varchar
|
|||
|
<09>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD> integer (0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա 1 <20><><EFBFBD><EFBFBD>Ա 2 ͼ<><CDBC><EFBFBD>ݽ<EFBFBD><DDBD>Ĵ<EFBFBD> 3 <20><><EFBFBD><EFBFBD>)
|
|||
|
3<><33><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ!
|
|||
|
<09>˻<EFBFBD>״̬ integer (0 <20><><EFBFBD><EFBFBD> 1 <20><>ֹ<EFBFBD><D6B9>½ 2 <20><>Ҫ<EFBFBD><D2AA>֤<EFBFBD><D6A4><EFBFBD>ܼ<EFBFBD><DCBC><EFBFBD> 3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFB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FBD><EFBFBD><EFBFBD><EFBFBD> integer
|
|||
|
Ĭ<><C4AC><EFBFBD><EFBFBD><EFBFBD>ͽ<EFBFBD><CDBD><EFBFBD>ʱ<EFBFBD><CAB1> integer
|
|||
|
Ĭ<><C4AC><EFBFBD><EFBFBD><EFBFBD>߽<EFBFBD><DFBD><EFBFBD>ʱ<EFBFBD><CAB1> integer
|
|||
|
<09>ɽ<EFBFBD><C9BD>ܵ<EFBFBD><DCB5><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> money
|
|||
|
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>߱<EFBFBD>(bs_reader)
|
|||
|
<09><>¼<EFBFBD>˺<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bs_user
|
|||
|
<09><><EFBFBD><EFBFBD> varchar
|
|||
|
<09><><EFBFBD><EFBFBD>֤<EFBFBD><D6A4> varchar
|
|||
|
<09><>ϵ<EFBFBD>绰 varchar
|
|||
|
<09>ȼ<EFBFBD> integer (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-><3E><><EFBFBD><EFBFBD>-><3E>ı<EFBFBD><C4B1><EFBFBD><DEB6><EFBFBD><EFBFBD><EFBFBD>Ϣ) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bs_level
|
|||
|
<09>ɳ<EFBFBD>ֵ(<28><><EFBFBD><EFBFBD>ֵ) integer (ǩ<><C7A9><EFBFBD>;<EFBFBD><CDBE><EFBFBD>ֵ<EFBFBD>ȵ<EFBFBD>)
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> integer (<28><><EFBFBD><EFBFBD><EFBFBD>뼶<EFBFBD><EBBCB6><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>Ĭ<EFBFBD><C4AC>ֵ<EFBFBD><D6B5>һ<EFBFBD><D2BB>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ܵ<EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
<09><>ʹ<EFBFBD>ý<EFBFBD><C3BD>Ķ<EFBFBD><C4B6><EFBFBD> integer <20><><EFBFBD><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD> integer (<28><>)
|
|||
|
<09><><EFBFBD><EFBFBD> integer (ǩ<><C7A9>,<2C><><EFBFBD><EFBFBD>,<2C>)
|
|||
|
<09><><EFBFBD><EFBFBD> money
|
|||
|
|
|||
|
ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(bs_booktype)
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> varchar <20><><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>(bs_book)
|
|||
|
ͼ<>鶨<EFBFBD><E9B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> varchar <20><><EFBFBD><EFBFBD> (<28><><EFBFBD>ǵ<EFBFBD><C7B5><EFBFBD>Щ<EFBFBD><D0A9>û<EFBFBD><C3BB>ISBN<42><4E>)
|
|||
|
ISBN<42><4E> varchar <20><><EFBFBD><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD> varchar
|
|||
|
<09><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bs_booktype
|
|||
|
<09><><EFBFBD><EFBFBD> varchar
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> varchar
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> date
|
|||
|
״̬ integer (0 <20><><EFBFBD><EFBFBD> 1 <20><><EFBFBD><EFBFBD> 2 <20><><EFBFBD><EFBFBD>)
|
|||
|
<09><><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>Ȿ<EFBFBD><E2B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|||
|
<09><><EFBFBD><EFBFBD>: <20><>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD>Ȿ<EFBFBD><E2B1BE>
|
|||
|
|
|||
|
ͼ<EFBFBD><EFBFBD>״̬<EFBFBD><EFBFBD>(bs_bookstatus)
|
|||
|
ͼ<><CDBC>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> varchar <20><><EFBFBD><EFBFBD> (һ<><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж౾<D0B6><E0B1BE><EFBFBD><EFBFBD>)
|
|||
|
ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bs_book
|
|||
|
λ<><CEBB> varchar (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾͼ<CABE><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>)
|
|||
|
״̬ integer (0 <20><><EFBFBD><EFBFBD> 1 <20><>ʧ 2 <20>ڹ<EFBFBD>)
|
|||
|
<09><><EFBFBD><EFBFBD>: <20>鼮<EFBFBD>ѽ<EFBFBD><D1BD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bs_borrow<6F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D><EFBFBD>鼮<EFBFBD><E9BCAE>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> date <20><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>null<6C><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD>ѹ黹<D1B9><E9BBB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>ʷ<EFBFBD><CAB7><EFBFBD>ݣ<EFBFBD>
|
|||
|
|
|||
|
===================
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
===================
|
|||
|
5<EFBFBD><EFBFBD><EFBFBD>Ӱ<EFBFBD>װ(<28><><EFBFBD>߰<EFBFBD>װ,<2C><><EFBFBD><EFBFBD>Wordpress Install)
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>˺<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룬<EFBFBD><EBA3AC><EFBFBD>˻<EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӹ<EFBFBD><D3B9><EFBFBD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FBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ dbaddr
|
|||
|
<09><><EFBFBD>ݿ<EFBFBD><DDBF>˿<EFBFBD> dbport
|
|||
|
<09><><EFBFBD>ݿ<EFBFBD><DDBF>˻<EFBFBD> dbuser
|
|||
|
<09><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD> dbpass
|
|||
|
<09><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD> dbname
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD> supass (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD>Ϊroot)
|
|||
|
|
|||
|
<EFBFBD>½<EFBFBD><EFBFBD>˺<EFBFBD>:
|
|||
|
session
|
|||
|
|
|||
|
<EFBFBD><EFBFBD>ɾ<EFBFBD>IJ<EFBFBD> <20><> ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD>飬<EFBFBD>˻<EFBFBD>
|
|||
|
http://booksys.com/api/v1/install POST
|
|||
|
POST:
|
|||
|
dbaddr,dbport,dbuser,dbpass,dbname,supass
|
|||
|
|
|||
|
http://booksys.com/api/v1/search?type=...&name=... GET
|
|||
|
GET:
|
|||
|
type= 0 <20>û<EFBFBD> 1 <20>鼮
|
|||
|
name= <20>û<EFBFBD><C3BB><EFBFBD>,<2C>鼮<EFBFBD><E9BCAE><EFBFBD><EFBFBD>
|
|||
|
typename= <20>鼮<EFBFBD><E9BCAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>typeΪ1ʱ<31><CAB1>Ч
|
|||
|
|
|||
|
http://booksys.com/api/v1/explore GET
|
|||
|
GET:
|
|||
|
û<>в<EFBFBD><D0B2><EFBFBD>
|
|||
|
|
|||
|
http://booksys.com/api/v1/addbook POST
|
|||
|
POST:
|
|||
|
(ͼ<>鶨<EFBFBD><E9B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
isbn
|
|||
|
bookname
|
|||
|
booktype
|
|||
|
author
|
|||
|
publisher
|
|||
|
pubdate
|
|||
|
status
|
|||
|
|
|||
|
http://booksys.com/api/v1/editbook POST
|
|||
|
POST:
|
|||
|
book_key (Ψһͼ<D2BB>鶨<EFBFBD><E9B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
isbn
|
|||
|
bookname
|
|||
|
booktype
|
|||
|
author
|
|||
|
publisher
|
|||
|
pubdate
|
|||
|
status
|
|||
|
|
|||
|
http://booksys.com/api/v1/removebook POST
|
|||
|
POST:
|
|||
|
book_key (Ψһͼ<D2BB>鶨<EFBFBD><E9B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD>:
|
|||
|
<09><>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һʵ<D2BB>崦<EFBFBD>ڽ<EFBFBD><DABD><EFBFBD>״̬ʱ<CCAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>ͼ<EFBFBD>鶨<EFBFBD><E9B6A8>.
|
|||
|
|
|||
|
http://booksys.com/api/v1/addbooktype POST
|
|||
|
POST:
|
|||
|
booktype
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD>:
|
|||
|
<09><><EFBFBD>µ<EFBFBD><C2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD>ͻ
|
|||
|
|
|||
|
http://booksys.com/api/v1/editbooktype POST
|
|||
|
POST:
|
|||
|
booktype_old
|
|||
|
booktype_new
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD>:
|
|||
|
<09><><EFBFBD>µ<EFBFBD><C2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD>ͻ
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
|||
|
<09>ı<EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
http://booksys.com/api/v1/removebooktype POST
|
|||
|
POST:
|
|||
|
booktype
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD>:
|
|||
|
<09><><EFBFBD><EFBFBD>һͼ<D2BB>鶨<EFBFBD><E9B6A8>ʹ<EFBFBD>ô˶<C3B4><CBB6><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
http://booksys.com/api/v1/register POST
|
|||
|
POST:
|
|||
|
account
|
|||
|
pass
|
|||
|
nickname
|
|||
|
|
|||
|
<09><>ʾ:ͨ<><CDA8><EFBFBD><EFBFBD>APIע<49><D7A2><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>ȼ<EFBFBD><C8BC><EFBFBD><EFBFBD><EFBFBD>Ϊ3. <20><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD>״̬2
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD>:
|
|||
|
<09>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD>ʱ
|
|||
|
|
|||
|
http://booksys.com/api/v1/enableuser POST
|
|||
|
POST:
|
|||
|
account
|
|||
|
realname
|
|||
|
realid
|
|||
|
realphone
|
|||
|
|
|||
|
<09><>ʾ:ͨ<><CDA8><EFBFBD><EFBFBD>API<50><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>ȼ<EFBFBD><C8BC><EFBFBD><EFBFBD><EFBFBD>Ϊ3.(<28><><EFBFBD>ߵȼ<DFB5><C8BC><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD>˼<EFBFBD><CBBC><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD>״̬<D7B4><CCAC><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>Ϊ3.
|
|||
|
|
|||
|
<09><><EFBFBD><EFBFBD>:
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>.
|
|||
|
|
|||
|
http://booksys.com/api/v1/login POST
|
|||
|
POST:
|
|||
|
account
|
|||
|
pass
|
|||
|
|
|||
|
<09><>ʾ:ͨ<><CDA8><EFBFBD><EFBFBD>API<50>ɵ<EFBFBD>½<EFBFBD><C2BD><EFBFBD>û<EFBFBD><C3BB>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<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>apikey
|